conf

package
v0.0.4 Latest Latest
Warning

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

Go to latest
Published: Mar 27, 2021 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Overview

配置文件读取 utf-8编码 示例MySQL=localhost 各自独占一行 提供map形式访问{"MySQL":"localhost","prot":"3306"}

Index

Constants

This section is empty.

Variables

View Source
var Configs = make(map[string]string)

Functions

func ReadConf

func ReadConf(confPath string) map[string]string

Types

This section is empty.

Jump to

Keyboard shortcuts

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