diff options
| author | Jeff Carr <[email protected]> | 2025-09-10 17:31:25 -0500 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2025-09-10 17:31:25 -0500 |
| commit | 94bd4728ba260bbda7643e51f1beb9629b6b90d5 (patch) | |
| tree | 6b982dac41a9ee6a9bbaa72eb166b3c2fc7ef4df /placement.config.go | |
| parent | c3f5588365c1c68a1d87e5a6415eac18876dfce9 (diff) | |
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") +} |
