Skip to content

Commit

Permalink
Merge pull request #6 from gebv/v0.2
Browse files Browse the repository at this point in the history
fixed typo
  • Loading branch information
gebv authored Aug 4, 2020
2 parents 0d54d8c + bdb1db6 commit afeaaac
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions pattern.go
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,8 @@ func parse(patternName, exp string) (*Pattern, error) {
// Lookup returns list params if input string matched to schema.
//
// NOTE: nothing (empty list of tokens) not matches to anything.
//
// nolint: gocyclo
func (s *Pattern) Lookup(in string) (bool, Params) {
if s == nil {
return false, nil
Expand Down
2 changes: 1 addition & 1 deletion store.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import (
"github.com/pkg/errors"
)

// NewStore returns new storage instanse for patterns.
// NewStore returns new storage instance for patterns.
func NewStore() *Store {
return &Store{
root: &node{Token: Token{}},
Expand Down

0 comments on commit afeaaac

Please sign in to comment.