Showing 61 of 61 total issues
exported method MultiReader.Close should have comment or be unexported Open
Open
func (m *MultiReader) Close() error {
- Exclude checks
exported method Clamav.Ping should have comment or be unexported Open
Open
func (c *Clamav) Ping() error {
- Exclude checks
package comment should be of the form "Package scratch ..." Open
Open
/*
- Exclude checks
comment on exported function NewScratchArea should be of the form "NewScratchArea ..." Open
Open
/*
- Exclude checks
comment on exported method ScratchArea.Cleanup should be of the form "Cleanup ..." Open
Open
/*
- Exclude checks
var requestUrl should be requestURL Open
Open
var requestUrl string
- 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
package comment should not have leading space Open
Open
/*
- Exclude checks
comment on exported type Config should be of the form "Config ..." (with optional leading article) Open
Open
// Configuration structure, designed for gcfg
- Exclude checks
exported type MultiReader should have comment or be unexported Open
Open
type MultiReader struct {
- Exclude checks
don't use ALL_CAPS in Go names; use CamelCase Open
Open
RES_CLEAN = "CLEAN"
- Exclude checks
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 method ScanInterceptor.Handle should be of the form "Handle ..." Open
Open
/*
- Exclude checks
package comment should not have leading space Open
Open
/*
- Exclude checks
comment on exported function NewBodyHolder should be of the form "NewBodyHolder ..." Open
Open
/*
- Exclude checks
package comment should not have leading space Open
Open
/*
- Exclude checks
comment on exported method Forwarder.HandleRequest should be of the form "HandleRequest ..." 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 function New should have comment or be unexported Open
Open
func New(input io.Reader, contentLength int64) (*MultiReader, error) {
- Exclude checks
exported method Clamav.SetAddress should have comment or be unexported Open
Open
func (c *Clamav) SetAddress(url string) {
- Exclude checks