Skip to content

Commit

Permalink
add logs to sireneUL handler
Browse files Browse the repository at this point in the history
  • Loading branch information
Josquin Cornec committed Apr 26, 2024
1 parent ee10019 commit a4eb593
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pkg/ops/imports/sireneUL.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,11 @@ import (

// InsertSireneUL insère des trucs rapport aux sirene mais je sais pas trop quoi
func InsertSireneUL(ctx context.Context) error {
fmt.Println(viper.GetString("source.sireneULPath"))
sireneULParser := goSirene.SireneULParser(ctx, viper.GetString("source.sireneULPath"))

go func() {
fmt.Println("Affichage du chan sirene UL")
for sireneUL := range sireneULParser {
fmt.Println(sireneUL)
}
Expand Down

0 comments on commit a4eb593

Please sign in to comment.