gjsonconfig

package
v0.0.0-...-f3abbe6 Latest Latest
Warning

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

Go to latest
Published: Sep 27, 2020 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DefaultConfig

func DefaultConfig() (string, error)

Same Dir Same Name

func DefaultUnmarshal

func DefaultUnmarshal(v interface{}) error

Read same dir same name .json config file and unmarshal to a struct v is a pointer to structure

func Unmarshal

func Unmarshal(filename string, v interface{}) error

Read same dir json conf file and unmarshal to a struct shortfn example: "*.json"

Types

This section is empty.

Jump to

Keyboard shortcuts

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