mirror of
https://github.com/thunderbrewhq/binana.git
synced 2025-12-12 01:42:29 +00:00
feat(binana): add check command for profiles
This commit is contained in:
parent
b5ddafb89a
commit
ebf88595d9
11 changed files with 151 additions and 39 deletions
|
|
@ -13,7 +13,7 @@ const min_columns = 3
|
|||
type loader struct {
|
||||
input *bufio.Reader
|
||||
table Table
|
||||
line_number int
|
||||
line_number uint64
|
||||
}
|
||||
|
||||
func (l *loader) read_line() (line string, err error) {
|
||||
|
|
@ -32,6 +32,7 @@ func (l *loader) parse_line(line string) (err error) {
|
|||
err = fmt.Errorf("%w: line %d", err, l.line_number)
|
||||
return
|
||||
}
|
||||
entry.LineNumber = l.line_number
|
||||
|
||||
err = l.table.Insert(&entry)
|
||||
return
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue