Documentation
¶
Overview ¶
Package version provides version information for Buffalo.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // Version is the current version of Buffalo. // Injected at build time via ldflags: // -X github.com/massonsky/buffalo/internal/version.Version=1.32.5 // When built without ldflags (e.g. plain `go install`), defaults to "dev". Version = "dev" // GitCommit is the git commit hash (short). GitCommit = "unknown" // BuildDate is the date when the binary was built. BuildDate = "unknown" // GoVersion is the Go version used to build the binary. GoVersion = runtime.Version() // Platform is the OS/Arch combination. Platform = fmt.Sprintf("%s/%s", runtime.GOOS, runtime.GOARCH) )
Functions ¶
func FullVersion ¶ added in v1.33.0
func FullVersion() string
FullVersion returns version with commit hash suffix (e.g. "1.32.5+d58ff2d").
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.