scratch/scratch.go
exported type ScratchArea should have comment or be unexported Open
Open
type ScratchArea struct {
- Exclude checks
type name will be used as scratch.ScratchArea by other packages, and that stutters; consider calling this Area Open
Open
type ScratchArea struct {
- Exclude checks
comment on exported method ScratchArea.NewFile should be of the form "NewFile ..." Open
Open
/*
- 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
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