read_conf

package
v0.0.0-...-e90b7cb Latest Latest
Warning

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

Go to latest
Published: May 20, 2020 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewFileReader

func NewFileReader(filePath string) (*os.File, error)

func PathExists

func PathExists(path string) bool

Types

type Config

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

func ReadFile_Conf

func ReadFile_Conf(filePath string) (*Config, error)

func (*Config) Float64

func (c *Config) Float64(tag string) (float64, error)

func (*Config) Int

func (c *Config) Int(tag string) (int, error)

func (*Config) Int64

func (c *Config) Int64(tag string) (int64, error)

func (*Config) String

func (c *Config) String(tag string) string

Jump to

Keyboard shortcuts

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