Skip to content

Commit

Permalink
Update comments.
Browse files Browse the repository at this point in the history
  • Loading branch information
s-yata committed Jul 18, 2017
1 parent 35ba5e5 commit cb2cfdc
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions v2/error.go
Expand Up @@ -21,7 +21,7 @@ const (
UnknownError
)

// Name returns the name of the error code.
// Name returns the name of the error code such as "AddressError".
func (ec ErrorCode) Name() string {
switch ec {
case AddressError:
Expand Down Expand Up @@ -63,10 +63,10 @@ func (ec ErrorCode) MarshalJSON() ([]byte, error) {
return buf, nil
}

// ResultCode is a Groons result code.
// ResultCode is a Groonga result code.
type ResultCode int

// Name returns the name of the result code.
// Name returns the name of the result code such as "GRN_SUCCESS".
func (rc ResultCode) Name() string {
switch rc {
case 0:
Expand Down

0 comments on commit cb2cfdc

Please sign in to comment.