settings

package
v0.0.0-...-85f739f Latest Latest
Warning

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

Go to latest
Published: Dec 5, 2022 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	AppSetting      = &App{}
	DatabaseSetting = &Database{}
)

Functions

func Setup

func Setup()

Setup initialize the configuration instance

Types

type App

type App struct {
	BaseFilePath string
	Address      string
}

type Database

type Database struct {
	Type     string
	User     string
	Password string
	Host     string
	Port     string
	Name     string
}

Jump to

Keyboard shortcuts

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