configutil

package module
v0.0.0-...-0147549 Latest Latest
Warning

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

Go to latest
Published: Dec 16, 2019 License: Apache-2.0 Imports: 7 Imported by: 6

README

configutil

load/save ini/json for golang config

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GenerateToIni

func GenerateToIni(config interface{}, w io.Writer) error

func LoadData

func LoadData(urlpath string) ([]byte, error)

func LoadIni

func LoadIni(urlpath string, config interface{}) error

func LoadJSON

func LoadJSON(urlpath string, config interface{}) error

func SaveIni

func SaveIni(filename string, config interface{}) error

func SaveJSON

func SaveJSON(filename string, config interface{}) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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