nuts-foundation/nuts-auth

View on GitHub

Showing 32 of 34 total issues

exported const ValidFromAttr should have comment or be unexported
Open

const ValidFromAttr = "valid_from"
Severity: Minor
Found in pkg/contract/template.go by golint

func NewCachedHttpCrlService should be NewCachedHTTPCrlService
Open

func NewCachedHttpCrlService() *cachedHttpCrlService {
Severity: Minor
Found in pkg/services/x509/crl.go by golint

exported const ForgedIrmaContract should have comment or be unexported
Open

const ForgedIrmaContract = `
Severity: Minor
Found in testdata/contracts.go by golint

struct field PublicUrl should be PublicURL
Open

    PublicUrl                 string
Severity: Minor
Found in pkg/types.go by golint

exported type HttpCrlService should have comment or be unexported
Open

type HttpCrlService struct {
Severity: Minor
Found in pkg/services/x509/crl.go by golint

exported const ValidUnknownIrmaContract should have comment or be unexported
Open

const ValidUnknownIrmaContract = `{
Severity: Minor
Found in testdata/contracts.go by golint

exported function CopyDir should have comment or be unexported
Open

func CopyDir(src string, dst string) error {
Severity: Minor
Found in test/util.go by golint

exported function CopyFile should have comment or be unexported
Open

func CopyFile(src string, dst string) error {
Severity: Minor
Found in test/util.go by golint

exported function NewMemoryCrlService should have comment or be unexported
Open

func NewMemoryCrlService() memoryCrlService {
Severity: Minor
Found in pkg/services/x509/crl.go by golint

type cachedHttpCrlService should be cachedHTTPCrlService
Open

type cachedHttpCrlService struct {
Severity: Minor
Found in pkg/services/x509/crl.go by golint

exported func NewCachedHttpCrlService returns unexported type *x509.cachedHttpCrlService, which can be annoying to use
Open

func NewCachedHttpCrlService() *cachedHttpCrlService {
Severity: Minor
Found in pkg/services/x509/crl.go by golint

exported const LegalEntityAttr should have comment or be unexported
Open

const LegalEntityAttr = "legal_entity"
Severity: Minor
Found in pkg/contract/template.go by golint
Severity
Category
Status
Source
Language