ifad/clammit

View on GitHub

Showing 61 of 61 total issues

const applicationUrlHeader should be applicationURLHeader
Open

const applicationUrlHeader string = "X-Clammit-Backend"
Severity: Minor
Found in forwarder/forwarder.go by golint

comment on exported type Forwarder should be of the form "Forwarder ..." (with optional leading article)
Open

/*
Severity: Minor
Found in forwarder/forwarder.go by golint

comment on exported type Interceptor should be of the form "Interceptor ..." (with optional leading article)
Open

/*
Severity: Minor
Found in forwarder/forwarder.go by golint

exported method MultiReader.GetReadCloser should have comment or be unexported
Open

func (m *MultiReader) GetReadCloser() (io.ReadCloser, error) {
Severity: Minor
Found in multireader/multireader.go by golint

exported type ApplicationConfig should have comment or be unexported
Open

type ApplicationConfig struct {
Severity: Minor
Found in main.go by golint

exported type ScratchArea should have comment or be unexported
Open

type ScratchArea struct {
Severity: Minor
Found in scratch/scratch.go by golint

exported method Clamav.Scan should have comment or be unexported
Open

func (c *Clamav) Scan(reader io.Reader) (*Result, error) {
Severity: Minor
Found in scanner/clamav.go by golint

exported method MultiReader.ContentLength should have comment or be unexported
Open

func (m *MultiReader) ContentLength() int64 {
Severity: Minor
Found in multireader/multireader.go by golint

comment on exported type ScanInterceptor should be of the form "ScanInterceptor ..." (with optional leading article)
Open

// The implementation of the Scan interceptor
Severity: Minor
Found in scan_interceptor.go by golint

exported method Clamav.Version should have comment or be unexported
Open

func (c *Clamav) Version() (string, error) {
Severity: Minor
Found in scanner/clamav.go by golint

comment on exported type Engine should be of the form "Engine ..." (with optional leading article)
Open

/*
Severity: Minor
Found in scanner/scanner.go by golint

package comment should not have leading space
Open

/*
Severity: Minor
Found in web/clambomb.go by golint

2: cannot find package "clammit/multireader" in any of:
Open

    "clammit/multireader"
Severity: Minor
Found in forwarder/body.go by govet

exported const CONTENT_LENGTH should have comment (or a comment on this block) or be unexported
Open

    CONTENT_LENGTH = 1024 * 1024 // 1MB
Severity: Minor
Found in forwarder/body.go by golint

type name will be used as scratch.ScratchArea by other packages, and that stutters; consider calling this Area
Open

type ScratchArea struct {
Severity: Minor
Found in scratch/scratch.go by golint

comment on exported method ScratchArea.NewFile should be of the form "NewFile ..."
Open

/*
Severity: Minor
Found in scratch/scratch.go by golint

don't use ALL_CAPS in Go names; use CamelCase
Open

    CONTENT_LENGTH = 1024 * 1024 // 1MB
Severity: Minor
Found in forwarder/body.go by golint

comment on exported method Forwarder.SetLogger should be of the form "SetLogger ..."
Open

/*
Severity: Minor
Found in forwarder/forwarder.go by golint

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

/*
Severity: Minor
Found in forwarder/forwarder.go by golint

comment on exported type Ctx should be of the form "Ctx ..." (with optional leading article)
Open

// Application context
Severity: Minor
Found in main.go by golint
Severity
Category
Status
Source
Language