Skip to content

Commit

Permalink
feat : get table shema from csv
Browse files Browse the repository at this point in the history
  • Loading branch information
seipan committed Jul 11, 2023
1 parent 18fc981 commit 8b81829
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion csv.go
Original file line number Diff line number Diff line change
Expand Up @@ -37,5 +37,7 @@ func (c *CsvFile) SetContent() error {
}

func (c *CsvFile) GetTableSchema() {

for i, v := range c.content[0] {
c.tableSchema[v] = c.content[1][i]
}
}

0 comments on commit 8b81829

Please sign in to comment.