Unleash/unleash-client-go

View on GitHub

Showing 138 of 138 total issues

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

func (bs *BootstrapStorage) Load() error {
Severity: Minor
Found in bootstrap_storage.go by golint

exported type EventDiff should have comment or be unexported
Open

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

func NewGradualRolloutUserId should be NewGradualRolloutUserID
Open

func NewGradualRolloutUserId() *gradualRolloutUserId {

var normalizedId should be normalizedID
Open

    normalizedId := normalizedValue(ctx.UserId, groupId)

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

func (l NoopListener) OnError(err error) {
Severity: Minor
Found in nooplistener.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

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

func (ds DefaultStorage) Get(key string) (interface{}, bool) {
Severity: Minor
Found in storage.go by golint

exported type Segment should have comment or be unexported
Open

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

const mockInstanceId should be mockInstanceID
Open

    mockInstanceId = "1234"
Severity: Minor
Found in unleash_mock.go by golint

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

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

var groupId should be groupID
Open

                groupId, ok := groupIdValue.(string)
Severity: Minor
Found in client.go by golint

struct field SessionId should be SessionID
Open

    SessionId string
Severity: Minor
Found in context/context.go by golint

exported function NewRemoteAddressStrategy should have comment or be unexported
Open

func NewRemoteAddressStrategy() *remoteAddressStrategy {

range var segmentId should be segmentID
Open

    for _, segmentId := range strategy.Segments {
Severity: Minor
Found in repository.go by golint

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

func (ds *DefaultStorage) Load() error {
Severity: Minor
Found in storage.go by golint

exported type Strategy should have comment or be unexported
Open

type Strategy struct {
Severity: Minor
Found in api/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 VariantInternal should have comment or be unexported
Open

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

struct field instanceId should be instanceID
Open

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

exported type EventData should have comment or be unexported
Open

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