aboutsummaryrefslogtreecommitdiff
path: root/example/main.go
blob: 6e0c8b81810ebda516c1339a42d42c9d604756b1 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
package main

import (
	"fmt"

	"go.neonxp.ru/conf"
)

func main() {
	out, err := conf.LoadFile("./file.conf")
	if err != nil {
		panic(err)
	}

	fmt.Println(out)
}