fix: trim newline from version

This commit is contained in:
sentriz
2021-05-08 18:05:37 +01:00
committed by Senan Kelly
parent 0c871d888b
commit a5650084d7
2 changed files with 5 additions and 2 deletions

View File

@@ -3,10 +3,13 @@ package gonic
import (
_ "embed"
"fmt"
"strings"
)
//go:embed version.txt
var Version string
var version string
var Version = fmt.Sprintf("v%s", strings.TrimSuffix(version, "\n"))
const Name = "gonic"
const NameUpper = "GONIC"

View File

@@ -1 +1 @@
0.12.2
0.12.3