comment cleanup
gofmt reformatted the comment
This commit is contained in:
parent
bb27f7408c
commit
2ea6c82cf6
1 changed files with 1 additions and 2 deletions
|
@ -76,8 +76,7 @@ func nextNumber(input string) (num int, rest string, err error) {
|
|||
return num, rest, nil
|
||||
}
|
||||
|
||||
// ParseDuration parses a duration from a string. The format is:
|
||||
// 6y5m234d37h
|
||||
// ParseDuration parses a duration from a string. The format is `6y5m234d37h`
|
||||
func ParseDuration(s string) (Duration, error) {
|
||||
var (
|
||||
d Duration
|
||||
|
|
Loading…
Reference in a new issue