config

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Mar 29, 2025 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsProduction

func IsProduction() bool

func Load

func Load()

Types

type AppConfig

type AppConfig struct {
	Env string `default:"production"`
}

type Configuration

type Configuration struct {
	AppConfig
	ServerConfig
}

func Get

func Get() Configuration

type ServerConfig

type ServerConfig struct {
	Port string `default:"8080"`
}

Jump to

Keyboard shortcuts

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