ifad/clammit

View on GitHub
scratch/scratch.go

Summary

Maintainability
A
0 mins
Test Coverage

exported type ScratchArea should have comment or be unexported
Open

type ScratchArea struct {
Severity: Minor
Found in scratch/scratch.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

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

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 scratch/scratch.go by golint

There are no issues that match your filters.

Category
Status