ini

package
v1.18.2 Latest Latest
Warning

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

Go to latest
Published: Dec 18, 2023 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Codec

type Codec struct {
	KeyDelimiter string
	LoadOptions  LoadOptions
}

Codec implements the encoding.Encoder and encoding.Decoder interfaces for INI encoding.

func (Codec) Decode

func (c Codec) Decode(b []byte, v map[string]any) error

func (Codec) Encode

func (c Codec) Encode(v map[string]any) ([]byte, error)

type LoadOptions

type LoadOptions = ini.LoadOptions

LoadOptions contains all customized options used for load data source(s). This type is added here for convenience: this way consumers can import a single package called "ini".

Jump to

Keyboard shortcuts

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