You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
To begin with, thanks for your work on this package. It's great you have comment & time.Duration support !
I tried to use it as a replacement of hashicorp/hcl in one of my project. But based on my unit tests, default annotation (such as hcl:"connection_string" default:"postgresql://user:password@localhost:5432/postgres") stopped working between v0.1.8 & v0.1.9.
When using v0.1.8 of this package, tests are successful, default values are correctly set. link to PR & link to CI
github.com/Stoakes/go-pkg/config [no test files]
=== RUN Test_FileExportCommand
--- PASS: Test_FileExportCommand (0.00s)
PASS
coverage: 86.1% of statements
ok github.com/Stoakes/go-pkg/config/cmd 0.004s coverage: 86.1% of statements
When using v0.1.9 or higher, tests fails, default values aren't set anymore. link to PR & link to CI
Hello,
To begin with, thanks for your work on this package. It's great you have comment & time.Duration support !
I tried to use it as a replacement of
hashicorp/hcl
in one of my project. But based on my unit tests,default
annotation (such ashcl:"connection_string" default:"postgresql://user:password@localhost:5432/postgres"
) stopped working between v0.1.8 & v0.1.9.When using
v0.1.8
of this package, tests are successful, default values are correctly set. link to PR & link to CIWhen using v0.1.9 or higher, tests fails, default values aren't set anymore. link to PR & link to CI
Tell me if I can help.
The text was updated successfully, but these errors were encountered: