package
Version:
v0.2.3
Opens a new window with list of versions in this module.
Published: Mar 18, 2020
License: MIT
Opens a new window with license information.
Imports: 2
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Package buildinfo contains build information.
View Source
var Version = defaultVersion
Version of gen (generated by "make" or "goreleaser").
TplFunc returns a template function that returns gen's version.
package main
import (
"fmt"
"astrophena.me/gen/internal/buildinfo"
)
func main() {
f := buildinfo.TplFunc()
fmt.Println(f())
}
Output:
devel
Source Files
¶
Click to show internal directories.
Click to hide internal directories.