ifad/clammit

View on GitHub

Showing 61 of 61 total issues

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

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

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

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

package comment should be of the form "Package scratch ..."
Open

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

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

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

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

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

var requestUrl should be requestURL
Open

var requestUrl string
Severity: Minor
Found in web/clambomb.go by golint

if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary)
Open

    } else {
Severity: Minor
Found in scratch/scratch.go by golint

package comment should not have leading space
Open

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

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

// Configuration structure, designed for gcfg
Severity: Minor
Found in main.go by golint

exported type MultiReader should have comment or be unexported
Open

type MultiReader struct {
Severity: Minor
Found in multireader/multireader.go by golint

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

    RES_CLEAN = "CLEAN"
Severity: Minor
Found in scanner/scanner.go by golint

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

// JSON server information response
Severity: Minor
Found in main.go by golint

comment on exported method ScanInterceptor.Handle should be of the form "Handle ..."
Open

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

package comment should not have leading space
Open

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

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

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

package comment should not have leading space
Open

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

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

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

if block ends with a return statement, so drop this else and outdent its block
Open

    } else {
Severity: Minor
Found in forwarder/forwarder.go by golint

exported function New should have comment or be unexported
Open

func New(input io.Reader, contentLength int64) (*MultiReader, error) {
Severity: Minor
Found in multireader/multireader.go by golint

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

func (c *Clamav) SetAddress(url string) {
Severity: Minor
Found in scanner/clamav.go by golint
Severity
Category
Status
Source
Language