Skip to content

Commit

Permalink
trim version text
Browse files Browse the repository at this point in the history
  • Loading branch information
sentriz committed Sep 25, 2021
1 parent ef5920e commit 3b975c6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion version.go
Expand Up @@ -9,7 +9,7 @@ import (

//go:embed version.txt
var version string
var Version = fmt.Sprintf("v%s", strings.TrimSuffix(version, "\n"))
var Version = fmt.Sprintf("v%s", strings.TrimSpace(version))

const Name = "gonic"
const NameUpper = "GONIC"

0 comments on commit 3b975c6

Please sign in to comment.