blob: b0e35896ef84956525288603d0354c88bb805bc3 (
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 `json:"version" validate:"required,currentversion"`
}
|