Skip to content

Commit

Permalink
[#17] example updated
Browse files Browse the repository at this point in the history
  • Loading branch information
coderx31 committed Jan 15, 2025
1 parent 537b03f commit 54da50d
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions example/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@ import (
"log"
"os"

"github.com/caarlos0/env/v11"

"github.com/wgarunap/goconf"
)

Expand All @@ -19,7 +17,7 @@ type Conf struct {
var Config Conf

func (Conf) Register() error {
return env.Parse(&Config)
return goconf.ParseEnv(&Config)
}

func (Conf) Validate() error {
Expand Down

0 comments on commit 54da50d

Please sign in to comment.