Unleash/unleash-client-go

View on GitHub

Showing 138 of 138 total issues

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 method BootstrapStorage.Init should have comment or be unexported
Open

func (bs *BootstrapStorage) Init(backupPath string, appName string) {
Severity: Minor
Found in bootstrap_storage.go by golint

exported method BootstrapStorage.Reset should have comment or be unexported
Open

func (bs *BootstrapStorage) Reset(data map[string]interface{}, persist bool) error {
Severity: Minor
Found in bootstrap_storage.go by golint

exported func NewApplicationHostnameStrategy returns unexported type *strategies.applicationHostnameStrategy, which can be annoying to use
Open

func NewApplicationHostnameStrategy() *applicationHostnameStrategy {

exported function NewUserWithIdStrategy should have comment or be unexported
Open

func NewUserWithIdStrategy() *userWithIdStrategy {
Severity: Minor
Found in internal/strategies/user_with_id.go by golint

exported method DefaultStorage.List should have comment or be unexported
Open

func (ds *DefaultStorage) List() []interface{} {
Severity: Minor
Found in storage.go by golint

exported method MockedListener.OnWarning should have comment or be unexported
Open

func (l *MockedListener) OnWarning(warning error) {
Severity: Minor
Found in unleash_mock.go by golint

exported type FeatureResponse should have comment or be unexported
Open

type FeatureResponse struct {
Severity: Minor
Found in api/feature.go by golint

exported type Feature should have comment or be unexported
Open

type Feature struct {
Severity: Minor
Found in api/feature.go by golint

exported func NewUserWithIdStrategy returns unexported type *strategies.userWithIdStrategy, which can be annoying to use
Open

func NewUserWithIdStrategy() *userWithIdStrategy {
Severity: Minor
Found in internal/strategies/user_with_id.go by golint

exported method NoopListener.OnWarning should have comment or be unexported
Open

func (l NoopListener) OnWarning(warning error) {
Severity: Minor
Found in nooplistener.go by golint

comment on exported method NoopListener.OnReady should be of the form "OnReady ..."
Open

// The repository is ready.
Severity: Minor
Found in nooplistener.go by golint

exported method DefaultStorage.Init should have comment or be unexported
Open

func (ds *DefaultStorage) Init(backupPath, appName string) {
Severity: Minor
Found in storage.go by golint

struct field instanceId should be instanceID
Open

    instanceId      string
Severity: Minor
Found in config.go by golint

exported type Event should have comment or be unexported
Open

type Event struct {
Severity: Minor
Found in internal/api/event.go by golint

exported func NewGradualRolloutSessionId returns unexported type *strategies.gradualRolloutSessionId, which can be annoying to use
Open

func NewGradualRolloutSessionId() *gradualRolloutSessionId {

exported method FeatureResponse.SegmentsMap should have comment or be unexported
Open

func (fr FeatureResponse) SegmentsMap() map[int][]Constraint {
Severity: Minor
Found in api/feature.go by golint

var groupIdValue should be groupIDValue
Open

    groupIdValue := params[strategy.ParamGroupId]

exported type Bucket should have comment or be unexported
Open

type Bucket struct {
Severity: Minor
Found in internal/api/metrics.go by golint

exported func NewDefaultStrategy returns unexported type *strategies.defaultStrategy, which can be annoying to use
Open

func NewDefaultStrategy() *defaultStrategy {
Severity: Minor
Found in internal/strategies/default.go by golint
Severity
Category
Status
Source
Language