Skip to content

Commit

Permalink
ajout de logs
Browse files Browse the repository at this point in the history
  • Loading branch information
Josquin Cornec committed Jan 14, 2025
1 parent 60f29bc commit 150ccc3
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions createfilter/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -193,6 +193,9 @@ func DetectDateFinEffectif(path string, nIgnoredCols int) (dateFinEffectif time.
nbColsToExclude := guessLastNMissingFromReader(r, nIgnoredCols)
lastColWithValue := len(header) - 1 - nbColsToExclude - nIgnoredCols
lastPeriodWithValue := header[lastColWithValue]
log.Printf("nbColsToExclude: %d\n", nbColsToExclude)
log.Printf("lastColWithValue: %d\n", lastColWithValue)
log.Printf("lastPeriodWithValue: %s\n", lastPeriodWithValue)
return effectifColNameToDate(lastPeriodWithValue)
}

Expand Down

0 comments on commit 150ccc3

Please sign in to comment.