Move RnD sample programs to examples dir, rename test_data to example_data, add stubs for server and client

This commit is contained in:
eleksir
2025-10-27 18:14:28 +03:00
parent f8a41a8cb4
commit b0c28ef87f
54 changed files with 10744 additions and 24 deletions

View File

@@ -0,0 +1,24 @@
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: */