Skip to content

Commit

Permalink
Fix function comments based on best practices from Effective Go
Browse files Browse the repository at this point in the history
Signed-off-by: CodeLingo Bot <bot@codelingo.io>
  • Loading branch information
CodeLingoBot committed Feb 18, 2019
1 parent 2a6ae41 commit 738906d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion gerror/error.go
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ func (e *gerror) SetStatus(s int) {
e.status = s
}

// Returns the Error's HTTP status code.
// Status returns the Error's HTTP status code.
func (e *gerror) Status() int {
return e.status
}
Expand Down
2 changes: 1 addition & 1 deletion shovey/shovey.go
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ func (e *qerror) SetStatus(s string) {
e.status = s
}

// Returns the Qerror's HTTP status code.
// Status returns the Qerror's HTTP status code.
func (e *qerror) Status() string {
return e.status
}
Expand Down

0 comments on commit 738906d

Please sign in to comment.