g2config

package
v2.0.1 Latest Latest
Warning

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

Go to latest
Published: Jun 20, 2021 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	// contains filtered or unexported fields
}

Config ...

func (*Config) Constructor

func (c *Config) Constructor()

Constructor ...初始化

func (*Config) Load

func (c *Config) Load()

Load ...

func (*Config) RootPath

func (c *Config) RootPath() string

RootPath ...

func (*Config) SetFilename

func (c *Config) SetFilename(filename string)

SetFilename ...

func (*Config) SetRootPath

func (c *Config) SetRootPath(rootPath string)

SetRootPath ...

func (*Config) Viper

func (c *Config) Viper() *viper.Viper

Viper ...

Jump to

Keyboard shortcuts

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