mirror of
https://gitee.com/johng/gf
synced 2026-06-07 02:12:11 +08:00
17 lines
173 B
Go
17 lines
173 B
Go
package main
|
|
|
|
import (
|
|
"fmt"
|
|
"github.com/gogf/gf/v2/encoding/gini"
|
|
)
|
|
|
|
func main() {
|
|
s := `
|
|
a = b
|
|
|
|
`
|
|
m, err := gini.Decode([]byte(s))
|
|
fmt.Println(err)
|
|
fmt.Println(m)
|
|
}
|