Skip to content

Commit

Permalink
- fix error with *string type
Browse files Browse the repository at this point in the history
  • Loading branch information
MatrixCrawler committed Apr 11, 2024
1 parent c0b581e commit f2111ae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ func main() {
case *versionFlag:
//if *versionFlag {
if version != nil {
fmt.Printf("Version: %s\n", version)
fmt.Printf("Version: %s\n", *version)
} else {
fmt.Println("Version not defined during build.")
}
Expand Down

0 comments on commit f2111ae

Please sign in to comment.