package main
import (
"github.com/verystar/ini"
"fmt"
)
func main() {
filename := "testdata/more.ini"
section := "development"
cfg, err := ini.Load(filename)
if err != nil {
fmt.Println(err)
return
}
fmt.Println(cfg.Read(section, "name"))
fmt.Println(cfg.Read(section, "name1"))
}
-
Notifications
You must be signed in to change notification settings - Fork 0
verystar/ini
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|