build

package
v0.0.0-...-8444db5 Latest Latest
Warning

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

Go to latest
Published: Jan 18, 2022 License: AGPL-3.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ServiceName service.Name = "build"
)

Variables

This section is empty.

Functions

func ServiceProvider

func ServiceProvider(projectVersion, gitRef, buildDate string) service.Provider

Types

type Info

type Info struct {
	ProjectVersion string
	GitRef         string
	BuildDate      string
}

func From

func From(container *service.Container) (*Info, error)

From retrieves the build informations in the given service container

func Must

func Must(container *service.Container) *Info

Must retrieves the user repository in the given service container or panic otherwise

Jump to

Keyboard shortcuts

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