runtime

package
v1.1.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 20, 2026 License: MIT Imports: 3 Imported by: 4 modules, 9 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Version = "v1.1.0"

Version is the current version of the buffalo binary

Functions

func SetBuild

func SetBuild(b BuildInfo)

SetBuild allows the setting of build information only once. This is typically managed by the binary built by `buffalo build`.

Types

type BuildInfo

type BuildInfo struct {
	Version string    `json:"version"`
	Time    time.Time `json:"-"`
}

BuildInfo holds information about the build

func Build

func Build() BuildInfo

Build returns the information about the current build of the application. In development mode this will almost always run zero values for BuildInfo.

func (BuildInfo) String

func (b BuildInfo) String() string

String implements fmt.String

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL