Default header to tag type
This commit is contained in:
parent
dfe7d3650f
commit
0e165b57d0
1 changed files with 1 additions and 1 deletions
|
|
@ -323,7 +323,7 @@ func parseHeaders(row []string) ([]headerPoolEnum, []string) {
|
|||
ht := strings.TrimSpace(h)
|
||||
hl := strings.ToLower(ht)
|
||||
log.Debug().Str("header", hl).Msg("Saw CSV header")
|
||||
var type_ headerPoolEnum
|
||||
var type_ headerPoolEnum = headerPoolTag
|
||||
switch hl {
|
||||
case "city":
|
||||
type_ = headerPoolAddressLocality
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue