Skip to content

Commit

Permalink
fix: nil pointer in serveman example
Browse files Browse the repository at this point in the history
  • Loading branch information
rfyiamcool committed Aug 24, 2022
1 parent 498e043 commit 76a961c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion _examples/serveman/commands.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ type Config struct {
}

var (
config *Config
config = New(Config)
// config file
confFile string
)
Expand Down

0 comments on commit 76a961c

Please sign in to comment.