add error handling for reading configuration #1
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "odyseusz/publapi:master"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
I haven't tested it, but viper.ReadInConfig() returns
error
, so it should work. I think it's worth cleaning up the Userinfo struct thing that I'm doing, to respect the DRY principle.Approved from my side, @midou please give it another glance before merging
LGTM except this
@ -7,3 +7,3 @@
## Install
An installation of Go 1.19 or higher is required.
An installation of Go 1.21+ is required.
1.21 but the requirement in go.mod is 1.22, does it really work in 1.21 or 1.22 is really required?
Go extension for Visual Studio Code changed it to 1.22 automatically when I asked it to clear out unneeded dependencies, but no, 1.21+ should work.
@arya i'll let you the honor of merging
(i'll blame you if it breaks)