gf: github.com/gogf/gf/encoding/gini Index | Files

package gini

import "github.com/gogf/gf/encoding/gini"

Package gini provides accessing and converting for INI content.

Index

Package Files

gini.go

func Decode Uses

func Decode(data []byte) (res map[string]interface{}, err error)

Decode converts INI format to map.

func Encode Uses

func Encode(data map[string]interface{}) (res []byte, err error)

Encode converts map to INI format.

func ToJson Uses

func ToJson(data []byte) (res []byte, err error)

ToJson convert INI format to JSON.

Package gini imports 7 packages (graph) and is imported by 1 packages. Updated 2020-03-24. Refresh now. Tools for package owners.