mode

package
v0.6.1 Latest Latest
Warning

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

Go to latest
Published: Jan 2, 2025 License: GPL-3.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// Dev for development mode
	Dev = "dev"
	// Prod for production mode
	Prod = "prod"
)

Variables

This section is empty.

Functions

func Get

func Get() string

Get returns the current mode.

func Set

func Set(newMode string)

Set sets the new mode.

Types

This section is empty.

Jump to

Keyboard shortcuts

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