buffalo: github.com/gobuffalo/buffalo/runtime Index | Files

package runtime

import "github.com/gobuffalo/buffalo/runtime"

Index

Package Files

build.go runtime.go version.go

Constants

const Version = "v0.14.6"

Version is the current version of the buffalo binary

func SetBuild Uses

func SetBuild(b BuildInfo)

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

type BuildInfo Uses

type BuildInfo struct {
    Version string
    Time    time.Time
}

BuildInfo holds information about the build

func Build Uses

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 Uses

func (b BuildInfo) String() string

String implements fmt.String

Package runtime imports 3 packages (graph) and is imported by 14 packages. Updated 2019-06-16. Refresh now. Tools for package owners.