diff options
Diffstat (limited to '')
| -rw-r--r-- | example/main.go | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/example/main.go b/example/main.go new file mode 100644 index 0000000..6e0c8b8 --- /dev/null +++ b/example/main.go @@ -0,0 +1,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) +} |
