iniReader

package
v1.8.2 Latest Latest
Warning

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

Go to latest
Published: Feb 26, 2024 License: MIT Imports: 1 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Reader added in v1.7.1

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

func New

func New(configFile string) *Reader

func (*Reader) Float32 added in v1.7.1

func (m *Reader) Float32(section, key string) float32

float32 配置读取

func (*Reader) Float64 added in v1.7.1

func (m *Reader) Float64(section, key string) float64

float64 配置读取

func (*Reader) Int added in v1.7.1

func (m *Reader) Int(section, key string) int

int 配置读取

func (*Reader) Int32 added in v1.7.1

func (m *Reader) Int32(section, key string) int32

int32 配置读取

func (*Reader) Int64 added in v1.7.1

func (m *Reader) Int64(section, key string) int64

int64 配置读取

func (*Reader) String added in v1.7.1

func (m *Reader) String(section, key string) string

字符串配置读取

Jump to

Keyboard shortcuts

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