go-auth0/auth0

View on GitHub
internal/client/client.go

Summary

Maintainability
A
0 mins
Test Coverage
C
71%

2: cannot find package "github.com/PuerkitoBio/rehttp" in any of:
Open

    "github.com/PuerkitoBio/rehttp"
Severity: Minor
Found in internal/client/client.go by govet

exported function StaticToken should have comment or be unexported
Open

func StaticToken(token string) oauth2.TokenSource {
Severity: Minor
Found in internal/client/client.go by golint

func name will be used as client.ClientCredentials by other packages, and that stutters; consider calling this Credentials
Open

func ClientCredentials(ctx context.Context, uri, clientID, clientSecret string) oauth2.TokenSource {
Severity: Minor
Found in internal/client/client.go by golint

exported function ClientCredentials should have comment or be unexported
Open

func ClientCredentials(ctx context.Context, uri, clientID, clientSecret string) oauth2.TokenSource {
Severity: Minor
Found in internal/client/client.go by golint

comment on exported function UserAgentTransport should be of the form "UserAgentTransport ..."
Open

// RateLimitTransport wraps base transport with a customized "User-Agent" header
Severity: Minor
Found in internal/client/client.go by golint

comment on exported function DebugTransport should be of the form "DebugTransport ..."
Open

// RateLimitTransport wraps base transport with the ability to log the contents
Severity: Minor
Found in internal/client/client.go by golint

There are no issues that match your filters.

Category
Status