Skip to content

Commit

Permalink
add config defaults
Browse files Browse the repository at this point in the history
  • Loading branch information
choppedpork committed Apr 17, 2019
1 parent 8fe5ccb commit d76f0d7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import (
"github.com/spf13/viper"
)

var Config config
var Config = config{Host: "localhost", Port: 80}

type config struct {
Host string `mapstructure:"host"`
Expand Down

0 comments on commit d76f0d7

Please sign in to comment.