package ini
import "github.com/spf13/viper/internal/encoding/ini"
Index ¶
- type Codec
- func (c Codec) Decode(b []byte, v map[string]interface{}) error
- func (c Codec) Encode(v map[string]interface{}) ([]byte, error)
- type LoadOptions
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 (Codec) Encode ¶
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".
Source Files ¶
- Version
- v1.11.0
- Published
- Apr 13, 2022
- Platform
- linux/amd64
- Imports
- 5 packages
- Last checked
- 1 hour ago –
Tools for package owners.