config

package
v1.0.20 Latest Latest
Warning

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

Go to latest
Published: Apr 16, 2021 License: MIT Imports: 4 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ReadConfig

func ReadConfig(data interface{}, path string) interface{}

ReadConfig ReadConfig

Types

type BaseConfig

type BaseConfig struct {
	TablePrefix string `json:"table_prefix"` //数据库表前缀
	BaseURL     string `json:"base_url"`     // 网站根目录
	Port        int    `json:"port"`         //端口
}

BaseConfig BaseConfig

Jump to

Keyboard shortcuts

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