Skip to content
This repository has been archived by the owner on Jul 22, 2024. It is now read-only.

Commit

Permalink
fate: Error style fix
Browse files Browse the repository at this point in the history
Use `var Err...`.
  • Loading branch information
NeilLuno committed Jul 12, 2022
1 parent f29b842 commit 0e719e9
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions fate.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,8 @@ import (
"github.com/luno/jettison/j"
)

var (
// ErrTempt is the error returned when tempting fate and losing.
ErrTempt = errors.New("tempt fate error", j.C("ERR_9f3adc780288ce11"))
)
// ErrTempt is the error returned when tempting fate and losing.
var ErrTempt = errors.New("tempt fate error", j.C("ERR_9f3adc780288ce11"))

// Fate is an interface that wraps the tempt method.
//
Expand Down

0 comments on commit 0e719e9

Please sign in to comment.