Skip to content

Commit

Permalink
print host name
Browse files Browse the repository at this point in the history
  • Loading branch information
p0mvn committed Apr 20, 2024
1 parent 7bc5e1f commit 22ab050
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions app/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ func main() {
flag.Parse()

fmt.Println("configPath", *configPath)
fmt.Println("hostName", *hostName)

viper.SetConfigFile(*configPath)
err := viper.ReadInConfig()
Expand Down

0 comments on commit 22ab050

Please sign in to comment.