blob: 0a41fca1328aabeb26cfa1b865c25d1bef85244c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
package config
// CurrentVersion declares the currently supported config version.
//
const CurrentVersion string = "v3"
// VersionConfig contains a single field that allows for validation of the
// config version independent from an entire Config struct.
//
type VersionConfig struct {
Version string `yaml:"version" validate:"required,currentversion"`
}
|