xstartplacement/placement.config.go

17 lines
306 B
Go

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, ARGNAME, "placements")
}