mirror of
https://github.com/c9s/bbgo.git
synced 2024-11-26 16:55:15 +00:00
types: fix lint issue
This commit is contained in:
parent
2d2d194bda
commit
e9ff0dcc66
|
@ -10,7 +10,7 @@ import (
|
|||
"github.com/pkg/errors"
|
||||
)
|
||||
|
||||
var simpleDurationRegExp = regexp.MustCompile("^(\\d+)([hdw])$")
|
||||
var simpleDurationRegExp = regexp.MustCompile(`^(\d+)([hdw])$`)
|
||||
|
||||
var ErrNotSimpleDuration = errors.New("the given input is not simple duration format, valid format: [1-9][0-9]*[hdw]")
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user