Showing 138 of 138 total issues
struct field Lhs should be LHS Open
Open
Lhs bool `json:"lhs"`
- Exclude checks
func NewGradualRolloutSessionId should be NewGradualRolloutSessionID Open
Open
func NewGradualRolloutSessionId() *gradualRolloutSessionId {
- Exclude checks
exported var SEGMENT_CLIENT_SPEC_VERSION should have comment or be unexported Open
Open
var SEGMENT_CLIENT_SPEC_VERSION = "4.3.1"
- 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 function GetVariant should have comment or be unexported Open
Open
func GetVariant(feature string, options ...VariantOption) *api.Variant {
- Exclude checks
exported method MockedListener.OnError should have comment or be unexported Open
Open
func (l *MockedListener) OnError(err error) {
- Exclude checks
exported type Response should have comment or be unexported Open
Open
type Response struct {
- Exclude checks
context.Context should be the first parameter of a function Open
Open
func (uc *Client) isParentDependencySatisfied(feature *api.Feature, context context.Context) bool {
- Exclude checks
exported type EventDiff should have comment or be unexported Open
Open
type EventDiff struct {
- Exclude checks
exported method Bucket.IsEmpty should have comment or be unexported Open
Open
func (b Bucket) IsEmpty() bool {
- Exclude checks
if block ends with a return statement, so drop this else and outdent its block Open
Open
} else {
- Exclude checks
var normalizedId should be normalizedID Open
Open
normalizedId := normalizedValue(ctx.UserId, groupId)
- Exclude checks
exported method DefaultStorage.Get should have comment or be unexported Open
Open
func (ds DefaultStorage) Get(key string) (interface{}, bool) {
- Exclude checks
exported type EventData should have comment or be unexported Open
Open
type EventData struct {
- Exclude checks
struct field Rhs should be RHS Open
Open
Rhs bool `json:"rhs"`
- Exclude checks
func parameter groupId should be groupID Open
Open
func normalizedValue(id string, groupId string) uint32 {
- Exclude checks
exported method DefaultStorage.Persist should have comment or be unexported Open
Open
func (ds *DefaultStorage) Persist() error {
- Exclude checks
exported type Dependency should have comment or be unexported Open
Open
type Dependency struct {
- Exclude checks
exported method BootstrapStorage.Persist should have comment or be unexported Open
Open
func (bs *BootstrapStorage) Persist() error {
- Exclude checks
struct field UserId should be UserID Open
Open
UserId string
- Exclude checks