summaryrefslogtreecommitdiff
path: root/placement.config.go
blob: 4ceba86b425cdc335139a8e8d50412cce60e2098 (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, APPNAME, "placements")
}