diff options
Diffstat (limited to 'placement.config.go')
| -rw-r--r-- | placement.config.go | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/placement.config.go b/placement.config.go new file mode 100644 index 0000000..3293a5a --- /dev/null +++ b/placement.config.go @@ -0,0 +1,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, ARGNAME, "placements") +} |
