Showing 138 of 138 total issues
var groupId should be groupID Open
Open
groupId, ok := groupIdValue.(string)
- Exclude checks
exported func NewFlexibleRolloutStrategy returns unexported type *strategies.flexibleRolloutStrategy, which can be annoying to use Open
Open
func NewFlexibleRolloutStrategy() *flexibleRolloutStrategy {
- Exclude checks
exported method MockedListener.OnReady should have comment or be unexported Open
Open
func (l *MockedListener) OnReady() {
- Exclude checks
exported function NewGradualRolloutRandomStrategy should have comment or be unexported Open
Open
func NewGradualRolloutRandomStrategy() *gradualRolloutRandomStrategy {
- Exclude checks
exported func NewGradualRolloutRandomStrategy returns unexported type *strategies.gradualRolloutRandomStrategy, which can be annoying to use Open
Open
func NewGradualRolloutRandomStrategy() *gradualRolloutRandomStrategy {
- Exclude checks
exported function NewGradualRolloutSessionId should have comment or be unexported Open
Open
func NewGradualRolloutSessionId() *gradualRolloutSessionId {
- Exclude checks
func NewUserWithIdStrategy should be NewUserWithIDStrategy Open
Open
func NewUserWithIdStrategy() *userWithIdStrategy {
- Exclude checks
exported method NoopListener.OnError should have comment or be unexported Open
Open
func (l NoopListener) OnError(err error) {
- Exclude checks
if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) Open
Open
} else {
- Exclude checks
exported type Override should have comment or be unexported Open
Open
type Override struct {
- Exclude checks
exported method BootstrapStorage.Get should have comment or be unexported Open
Open
func (bs *BootstrapStorage) Get(key string) (interface{}, bool) {
- Exclude checks
exported method BootstrapStorage.List should have comment or be unexported Open
Open
func (bs *BootstrapStorage) List() []interface{} {
- Exclude checks
func WithInstanceId should be WithInstanceID Open
Open
func WithInstanceId(instanceId string) ConfigOption {
- Exclude checks
var normalizedId should be normalizedID Open
Open
normalizedId := normalizedValue(ctx.SessionId, groupId)
- Exclude checks
exported func NewRemoteAddressStrategy returns unexported type *strategies.remoteAddressStrategy, which can be annoying to use Open
Open
func NewRemoteAddressStrategy() *remoteAddressStrategy {
- Exclude checks
type userWithIdStrategy should be userWithIDStrategy Open
Open
type userWithIdStrategy struct{}
- Exclude checks
struct field Id should be ID Open
Open
Id int `json:"id"`
- Exclude checks
exported type StrategyResult should have comment or be unexported Open
Open
type StrategyResult struct {
- Exclude checks
struct field instanceId should be instanceID Open
Open
instanceId string
- Exclude checks
func parameter instanceId should be instanceID Open
Open
func WithInstanceId(instanceId string) ConfigOption {
- Exclude checks