Showing 138 of 138 total issues
struct field Id should be ID Open
Open
Id int `json:"id"`
- Exclude checks
var groupId should be groupID Open
Open
groupId, ok := groupIdValue.(string)
- Exclude checks
type gradualRolloutSessionId should be gradualRolloutSessionID Open
Open
type gradualRolloutSessionId struct {
- Exclude checks
const mockInstanceId should be mockInstanceID Open
Open
mockInstanceId = "1234"
- Exclude checks
comment on exported method VariantCollection.GetVariant should be of the form "GetVariant ..." Open
Open
// Get variant for a given feature which is considered as enabled
- Exclude checks
exported type EventResponse should have comment or be unexported Open
Open
type EventResponse struct {
- Exclude checks
exported function NewApplicationHostnameStrategy should have comment or be unexported Open
Open
func NewApplicationHostnameStrategy() *applicationHostnameStrategy {
- Exclude checks
exported function NewDefaultStrategy should have comment or be unexported Open
Open
func NewDefaultStrategy() *defaultStrategy {
- Exclude checks
comment on exported method NoopListener.OnSent should be of the form "OnSent ..." Open
Open
// The server has uploaded metrics.
- Exclude checks
const ParamGroupId should be ParamGroupID Open
Open
ParamGroupId = "groupId"
- Exclude checks
Your code does not pass gofmt in 1 place. Go fmt your code! Open
Open
package unleash
- Exclude checks
exported method FeatureResponse.FeatureMap should have comment or be unexported Open
Open
func (fr FeatureResponse) FeatureMap() map[string]interface{} {
- Exclude checks
exported type Strategy should have comment or be unexported Open
Open
type Strategy struct {
- Exclude checks
exported type StrategyDescription should have comment or be unexported Open
Open
type StrategyDescription struct {
- Exclude checks
don't use ALL_CAPS in Go names; use CamelCase Open
Open
var DISABLED_VARIANT = &Variant{
- Exclude checks
func WithHttpClient should be WithHTTPClient Open
Open
func WithHttpClient(client *http.Client) ConfigOption {
- Exclude checks
exported type ToggleCount should have comment or be unexported Open
Open
type ToggleCount struct {
- Exclude checks
should replace t.Variants[variantName] += 1 with t.Variants[variantName]++ Open
Open
t.Variants[variantName] += 1
- Exclude checks
exported type MockedListener should have comment or be unexported Open
Open
type MockedListener struct {
- Exclude checks
exported type ParameterMap should have comment or be unexported Open
Open
type ParameterMap map[string]interface{}
- Exclude checks