25 lines
360 B
Go
25 lines
360 B
Go
package main
|
|
|
|
import (
|
|
"doll/internal/doll"
|
|
"doll/internal/log"
|
|
"os"
|
|
|
|
"github.com/davecgh/go-spew/spew"
|
|
)
|
|
|
|
func main() {
|
|
file := "example_data/01-config.json"
|
|
|
|
log.Init("info", os.Stderr)
|
|
log.Infof("loading %s", file)
|
|
|
|
data := doll.LoadJsonFile(file)
|
|
|
|
log.Infof("data from %s", file)
|
|
|
|
spew.Dump(data)
|
|
}
|
|
|
|
/* vim: set ft=go noet ai ts=4 sw=4 sts=4: */
|