Showing 61 of 61 total issues
comment on exported type Info should be of the form "Info ..." (with optional leading article) Open
Open
// JSON server information response
- Exclude checks
comment on exported type ScanInterceptor should be of the form "ScanInterceptor ..." (with optional leading article) Open
Open
// The implementation of the Scan interceptor
- Exclude checks
exported method Clamav.Scan should have comment or be unexported Open
Open
func (c *Clamav) Scan(reader io.Reader) (*Result, error) {
- Exclude checks
comment on exported type Engine should be of the form "Engine ..." (with optional leading article) Open
Open
/*
- Exclude checks
don't use ALL_CAPS in Go names; use CamelCase Open
Open
RES_ERROR = "ERROR"
- Exclude checks
comment on exported type Result should be of the form "Result ..." (with optional leading article) Open
Open
/*
- Exclude checks
comment on exported method ScratchArea.NewFile should be of the form "NewFile ..." Open
Open
/*
- Exclude checks
exported type ApplicationConfig should have comment or be unexported Open
Open
type ApplicationConfig struct {
- Exclude checks
exported function New should have comment or be unexported Open
Open
func New(input io.Reader, contentLength int64) (*MultiReader, error) {
- Exclude checks
exported method Clamav.HasVirus should have comment or be unexported Open
Open
func (c *Clamav) HasVirus(reader io.Reader) (bool, error) {
- Exclude checks
comment on exported method ScratchArea.Cleanup should be of the form "Cleanup ..." Open
Open
/*
- Exclude checks
if block ends with a return statement, so drop this else and outdent its block Open
Open
} else {
- Exclude checks
exported method Clamav.Ping should have comment or be unexported Open
Open
func (c *Clamav) Ping() error {
- Exclude checks
comment on exported type Scanner should be of the form "Scanner ..." (with optional leading article) Open
Open
/*
- Exclude checks
2: cannot find package "clammit/multireader" in any of: Open
Open
"clammit/multireader"
- Exclude checks
package comment should be of the form "Package forwarder ..." Open
Open
/*
- Exclude checks
comment on exported method ScanInterceptor.Handle should be of the form "Handle ..." Open
Open
/*
- Exclude checks
comment on exported function NewForwarder should be of the form "NewForwarder ..." Open
Open
/*
- Exclude checks
comment on exported var DefaultApplicationConfig should be of the form "DefaultApplicationConfig ..." Open
Open
// Default configuration
- Exclude checks
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
Open
} else {
- Exclude checks