diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index 006c43d..a393432 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -2,9 +2,9 @@ name: Go on: push: - branches: [ master ] + branches: [ main ] pull_request: - branches: [ master ] + branches: [ main ] jobs: diff --git a/dotnotation.go b/dotnotation.go index 7a39d3d..25e3553 100644 --- a/dotnotation.go +++ b/dotnotation.go @@ -47,7 +47,7 @@ func CompileExtractor(expr string) (*Extractor, error) { return &Extractor{e: e}, err } -// CompileExtractor compiles the dotnotation expression and returns an Applier +// CompileApplier compiles the dotnotation expression and returns an Applier func CompileApplier(expr string, op func(interface{}) interface{}) (*Applier, error) { e, err := compile(expr, op) return &Applier{e: e}, err