ini

package
v1.2.1 Latest Latest
Warning

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

Go to latest
Published: Feb 15, 2023 License: MIT Imports: 1 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Decode

func Decode(raw []byte, v interface{}) error

Decode decodes the INI-encoded data and stores the result in the value pointed to by v.

Static Method

func Encode

func Encode(v interface{}) ([]byte, error)

Encode returns the INI encoding of the data.

Static Method

Types

type INI

type INI struct {
}

func New

func New() *INI

func (*INI) Decode

func (j *INI) Decode(raw []byte, v interface{}) error

Decode decodes the INI-encoded data and stores the result in the value pointed to by v.

func (*INI) Encode

func (j *INI) Encode(v interface{}) ([]byte, error)

Encode returns the INI encoding of the data.

Jump to

Keyboard shortcuts

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