Unleash/unleash-client-go

View on GitHub
internal/strategies/user_with_id.go

Summary

Maintainability
A
0 mins
Test Coverage
B
83%

exported function NewUserWithIdStrategy should have comment or be unexported
Open

func NewUserWithIdStrategy() *userWithIdStrategy {
Severity: Minor
Found in internal/strategies/user_with_id.go by golint

type userWithIdStrategy should be userWithIDStrategy
Open

type userWithIdStrategy struct{}
Severity: Minor
Found in internal/strategies/user_with_id.go by golint

func NewUserWithIdStrategy should be NewUserWithIDStrategy
Open

func NewUserWithIdStrategy() *userWithIdStrategy {
Severity: Minor
Found in internal/strategies/user_with_id.go by golint

exported func NewUserWithIdStrategy returns unexported type *strategies.userWithIdStrategy, which can be annoying to use
Open

func NewUserWithIdStrategy() *userWithIdStrategy {
Severity: Minor
Found in internal/strategies/user_with_id.go by golint

There are no issues that match your filters.

Category
Status