tomlconfig

package
v0.0.0-...-b579be4 Latest Latest
Warning

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

Go to latest
Published: Sep 21, 2019 License: MIT, MIT, MIT, + 1 more Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Load

func Load(path string, v interface{}) error

Load load toml file and unmarshaler to interface. Return any error if rasied

func MustLoad

func MustLoad(path string, v interface{})

MustLoad load toml file and unmarshaler to interface. Panic if any error rasied

func MustSave

func MustSave(path string, v interface{})

MustSave save interface to toml file Panic if any error rasied

func Save

func Save(path string, v interface{}) error

Save save interface to toml file Return any error if rasied

Types

This section is empty.

Jump to

Keyboard shortcuts

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