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

Variables

var Version = "v0.15.5"

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    `json:"version"`
    Time    time.Time `json:"-"`
}

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 59 packages. Updated 2020-02-13. Refresh now. Tools for package owners.