runtime

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Jan 26, 2023 License: MIT Imports: 3 Imported by: 9

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