file

package
v0.0.0-...-0cb2949 Latest Latest
Warning

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

Go to latest
Published: Dec 22, 2019 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Exists

func Exists(name string) bool

Types

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

func NewBanner

func NewBanner() *Banner

func (Banner) Content

func (banner Banner) Content() string

func (Banner) Path

func (banner Banner) Path() string

func (*Banner) Read

func (banner *Banner) Read()

type Filer

type Filer interface {
	Read()
}

type INI

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

func NewINI

func NewINI() *INI

func (INI) DefaultSectionValues

func (iniFile INI) DefaultSectionValues() map[string]string

func (INI) GetSubSection

func (iniFile INI) GetSubSection(sectionName string, position int) (string, string, error)

func (*INI) Read

func (iniFile *INI) Read()

func (INI) SectionValues

func (iniFile INI) SectionValues(sectionName string) []datastructures.KV

func (INI) Sections

func (iniFile INI) Sections() []string

Jump to

Keyboard shortcuts

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