summaryrefslogtreecommitdiff
path: root/placement.config.go
blob: 3293a5a34307dfb94fcfb7efb70d06a6e908bdf4 (plain)
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, ARGNAME, "placements")
}