You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

12 lines
358 B

package config
// CurrentVersion declares the currently supported config version.
//
const CurrentVersion string = "v4"
// 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"`
}