config

package
v0.0.0-...-c6c0bf1 Latest Latest
Warning

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

Go to latest
Published: Sep 11, 2023 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var EnvVar = GetConfig("development")

set environment: development or production

Functions

func GetConfig

func GetConfig(env string) *viper.Viper

set which environment type to read: development or production

func Init

func Init(env string)

Types

This section is empty.

Jump to

Keyboard shortcuts

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