ini

package
Version: v2.367.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Feb 9, 2021 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type File

type File struct {
	Comment string
	// contains filtered or unexported fields
}

func Empty

func Empty() *File

func (*File) AppendSection

func (f *File) AppendSection(section *Section)

func (*File) WriteTo

func (f *File) WriteTo(w io.Writer) (int64, error)

type Key

type Key struct {
	Name  string
	Value string
}

type Section

type Section struct {
	Name string
	Keys []*Key
}

func (*Section) AddKey

func (s *Section) AddKey(name, value string)

Source Files

Jump to

Keyboard shortcuts

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