Unleash/unleash-client-go

View on GitHub

Showing 138 of 138 total issues

exported type VariantCollection should have comment or be unexported
Open

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

func WithUrl should be WithURL
Open

func WithUrl(url string) ConfigOption {
Severity: Minor
Found in config.go by golint

func WithHttpClient should be WithHTTPClient
Open

func WithHttpClient(client *http.Client) ConfigOption {
Severity: Minor
Found in config.go by golint

struct field instanceId should be instanceID
Open

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

exported type EventResponse should have comment or be unexported
Open

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

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

// The server has uploaded metrics.
Severity: Minor
Found in nooplistener.go by golint

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

// The client has registered.
Severity: Minor
Found in nooplistener.go by golint

const ParamGroupId should be ParamGroupID
Open

    ParamGroupId = "groupId"
Severity: Minor
Found in strategy/strategy.go by golint

struct field Id should be ID
Open

    Id int `json:"id"`
Severity: Minor
Found in api/strategy.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 method BootstrapStorage.Get should have comment or be unexported
Open

func (bs *BootstrapStorage) Get(key string) (interface{}, bool) {
Severity: Minor
Found in bootstrap_storage.go by golint

struct field instanceId should be instanceID
Open

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

exported function NewGradualRolloutRandomStrategy should have comment or be unexported
Open

func NewGradualRolloutRandomStrategy() *gradualRolloutRandomStrategy {

var groupIdValue should be groupIDValue
Open

    groupIdValue := params[strategy.ParamGroupId]

func NewUserWithIdStrategy should be NewUserWithIDStrategy
Open

func NewUserWithIdStrategy() *userWithIdStrategy {
Severity: Minor
Found in internal/strategies/user_with_id.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 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

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

var groupIdValue should be groupIDValue
Open

                groupIdValue := s.Parameters[strategy.ParamGroupId]
Severity: Minor
Found in client.go by golint

exported type ToggleCount should have comment or be unexported
Open

type ToggleCount struct {
Severity: Minor
Found in internal/api/metrics.go by golint
Severity
Category
Status
Source
Language