Rayato159 / go-clean-arch-v2

To experiment my updated knowledge about clean architecture in Golang.
49 stars 8 forks source link

Name of Database section in conifg. #1

Open OlegLaban opened 1 month ago

OlegLaban commented 1 month ago

Is it correct use name "database:" in config.yaml? Maybe Db: is rigth name? Otherwise I got error on file postgres.go:25 "invalid memory address or nil pointer dereference".

Rayato159 commented 1 month ago

Ahhh, Apologize, I just see that.

This is wrong because of I have fixed config loading style but I forget to change the config field name.

Let me fix this after work.

ในวันที่ อ. 30 ก.ค. 2024 เวลา 13:12 OlegLaban @.***> เขียนว่า:

Is it correct use name "database:" in config.yaml? Maybe Db: is rigth name? Otherwise I got error on file postgres.go:25 "invalid memory address or nil pointer dereference".

— Reply to this email directly, view it on GitHub https://github.com/Rayato159/go-clean-arch-v2/issues/1, or unsubscribe https://github.com/notifications/unsubscribe-auth/AK6FPVT36NDWRJNSDAKIRNLZO4VERAVCNFSM6AAAAABLVUPDWCVHI2DSMVQWIX3LMV43ASLTON2WKOZSGQZTMOJYGQZDQMI . You are receiving this because you are subscribed to this thread.Message ID: @.***>

OlegLaban commented 1 month ago

Thank you for fixing!