api/variant.go
don't use ALL_CAPS in Go names; use CamelCase Open
Open
var DISABLED_VARIANT = &Variant{
- Exclude checks
exported type Payload should have comment or be unexported Open
Open
type Payload struct {
- Exclude checks
exported type Variant should have comment or be unexported Open
Open
type Variant struct {
- Exclude checks
exported type VariantInternal should have comment or be unexported Open
Open
type VariantInternal struct {
- Exclude checks
struct field GroupId should be GroupID Open
Open
GroupId string
- Exclude checks
comment on exported function GetDefaultVariant should be of the form "GetDefaultVariant ..." Open
Open
// Get default variant if no variant is found
- Exclude checks
exported type VariantCollection should have comment or be unexported Open
Open
type VariantCollection struct {
- Exclude checks
exported type Override should have comment or be unexported Open
Open
type Override struct {
- Exclude checks
exported var DISABLED_VARIANT should have comment or be unexported Open
Open
var DISABLED_VARIANT = &Variant{
- Exclude checks