Showing 138 of 138 total issues
exported func NewFlexibleRolloutStrategy returns unexported type *strategies.flexibleRolloutStrategy, which can be annoying to use Open
Open
func NewFlexibleRolloutStrategy() *flexibleRolloutStrategy {
- Exclude checks
context.Context should be the first parameter of a function Open
Open
func (s flexibleRolloutStrategy) resolveStickiness(st stickiness, ctx context.Context) string {
- Exclude checks
func NewGradualRolloutSessionId should be NewGradualRolloutSessionID Open
Open
func NewGradualRolloutSessionId() *gradualRolloutSessionId {
- Exclude checks
exported method MockedListener.OnCount should have comment or be unexported Open
Open
func (l *MockedListener) OnCount(name string, enabled bool) {
- Exclude checks
exported method MockedListener.OnSent should have comment or be unexported Open
Open
func (l *MockedListener) OnSent(payload MetricsData) {
- Exclude checks
func parameter groupId should be groupID Open
Open
func getNormalizedNumber(identifier, groupId string, normalizer int) uint32 {
- Exclude checks
exported type StrategyResult should have comment or be unexported Open
Open
type StrategyResult struct {
- Exclude checks
exported type BootstrapStorage should have comment or be unexported Open
Open
type BootstrapStorage struct {
- Exclude checks
var parsedUrl should be parsedURL Open
Open
parsedUrl, err := url.Parse(uc.options.url)
- 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 func NewApplicationHostnameStrategy returns unexported type *strategies.applicationHostnameStrategy, which can be annoying to use Open
Open
func NewApplicationHostnameStrategy() *applicationHostnameStrategy {
- Exclude checks
exported function NewGradualRolloutUserId should have comment or be unexported Open
Open
func NewGradualRolloutUserId() *gradualRolloutUserId {
- Exclude checks
exported function NewRemoteAddressStrategy should have comment or be unexported Open
Open
func NewRemoteAddressStrategy() *remoteAddressStrategy {
- Exclude checks
exported function GetVariant should have comment or be unexported Open
Open
func GetVariant(feature string, options ...VariantOption) *api.Variant {
- Exclude checks
exported type MockedListener should have comment or be unexported Open
Open
type MockedListener struct {
- Exclude checks
exported type Strategy should have comment or be unexported Open
Open
type Strategy struct {
- Exclude checks
exported var DISABLED_VARIANT should have comment or be unexported Open
Open
var DISABLED_VARIANT = &Variant{
- Exclude checks
if block ends with a return statement, so drop this else and outdent its block Open
Open
} else {
- Exclude checks
var groupIdValue should be groupIDValue Open
Open
groupIdValue := params[strategy.ParamGroupId]
- Exclude checks
range var segmentId should be segmentID Open
Open
for _, segmentId := range strategy.Segments {
- Exclude checks