Skip to content

Commit

Permalink
refactor: rename 'Os' to 'OS'. #93
Browse files Browse the repository at this point in the history
  • Loading branch information
voidint committed Dec 1, 2023
1 parent f90ce96 commit 40a5ad2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build/build.go
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ func Version() string {
buf.WriteString(fmt.Sprintf("\n%-15s%s", "Git commit:", GitCommit))
}
buf.WriteString(fmt.Sprintf("\n%-15s%s", "Go version:", runtime.Version()))
buf.WriteString(fmt.Sprintf("\n%-15s%s/%s", "Os/Arch:", runtime.GOOS, runtime.GOARCH))
buf.WriteString(fmt.Sprintf("\n%-15s%s/%s", "OS/Arch:", runtime.GOOS, runtime.GOARCH))
buf.WriteString(fmt.Sprintf("\n%-15s%t", "Experimental:", strings.EqualFold(os.Getenv("G_EXPERIMENTAL"), "true")))
return buf.String()
}

0 comments on commit 40a5ad2

Please sign in to comment.