1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
package main // functions to import and export the protobuf // data to and from config files import ( "go.wit.com/lib/config" ) func (pb *Placements) ConfigSave() error { return config.ConfigSave(pb) } func (pb *Placements) ConfigLoad() error { return config.ConfigLoad(pb, APPNAME, "placements") }