config

package
v0.0.5 Latest Latest
Warning

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

Go to latest
Published: Nov 2, 2020 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Package config Simple Config File. Copyright (C) 2020 Ron. all rights reserved. Version 1.0 Date : 2020-08-09 10:25:00 Package config - simple conf file parse. conf file format key = value in a line. namespace is encode by key . like db.mysql.ip = 127.0.0.1 group by , like db.mysql.user = admin, user,

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SimpleConfig

type SimpleConfig interface {
	Get(key string, value string) string
	GetArray(key string) []string
}

SimpleConfig - config interface

func New

func New(file string) SimpleConfig

New - create new config.

Jump to

Keyboard shortcuts

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