build

package
v0.0.0-...-0e769ad Latest Latest
Warning

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

Go to latest
Published: Dec 18, 2025 License: AGPL-3.0 Imports: 2 Imported by: 24

Documentation

Index

Constants

View Source
const (
	// ModeDev is the development release value
	ModeDev = "development"
	// ModeProd is the production release value
	ModeProd = "production"
)

Variables

View Source
var (
	// Version of the release (see scripts/build.sh script)
	Version string
	// BuildTime is ISO-8601 UTC string representation of the time of
	// the build
	BuildTime string
	// BuildMode is the build mode of the release. Should be either
	// production or development.
	BuildMode = ModeDev
)

Functions

func IsDevRelease

func IsDevRelease() bool

IsDevRelease returns whether or not the binary is a development release

func UserAgent

func UserAgent() string

UserAgent returns the Cozy Stack User-Agent string and caches it.

Types

This section is empty.

Directories

Path Synopsis
Package config is where the configuration from the configuration files, the command line parameters, and the environment variables is used to fill some structs, and initializes connections (to Swift for example).
Package config is where the configuration from the configuration files, the command line parameters, and the environment variables is used to fill some structs, and initializes connections (to Swift for example).

Jump to

Keyboard shortcuts

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