Unleash/unleash-client-go

View on GitHub
api/variant.go

Summary

Maintainability
A
0 mins
Test Coverage
B
88%

don't use ALL_CAPS in Go names; use CamelCase
Open

var DISABLED_VARIANT = &Variant{
Severity: Minor
Found in api/variant.go by golint

exported type Payload should have comment or be unexported
Open

type Payload struct {
Severity: Minor
Found in api/variant.go by golint

exported type Variant should have comment or be unexported
Open

type Variant struct {
Severity: Minor
Found in api/variant.go by golint

exported type VariantInternal should have comment or be unexported
Open

type VariantInternal struct {
Severity: Minor
Found in api/variant.go by golint

struct field GroupId should be GroupID
Open

    GroupId string
Severity: Minor
Found in api/variant.go by golint

comment on exported function GetDefaultVariant should be of the form "GetDefaultVariant ..."
Open

// Get default variant if no variant is found
Severity: Minor
Found in api/variant.go by golint

exported type VariantCollection should have comment or be unexported
Open

type VariantCollection struct {
Severity: Minor
Found in api/variant.go by golint

exported type Override should have comment or be unexported
Open

type Override struct {
Severity: Minor
Found in api/variant.go by golint

exported var DISABLED_VARIANT should have comment or be unexported
Open

var DISABLED_VARIANT = &Variant{
Severity: Minor
Found in api/variant.go by golint

There are no issues that match your filters.

Category
Status