Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix typos #19

Merged
merged 1 commit into from
Oct 19, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ app, err := newrelic.NewApplication(
$ go install github.com/budougumi0617/nrseg/cmd/nrseg
```

Built binaries are available on gihub releases. https://github.com/budougumi0617/nrseg/releases
Built binaries are available on github releases. https://github.com/budougumi0617/nrseg/releases

### MacOS
If you want to install on MacOS, you can use Homebrew.
Expand Down
4 changes: 2 additions & 2 deletions nrseg.go
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ func fill(args []string, outStream, errStream io.Writer, version, revision strin
return nil, err
}
if v {
fmt.Fprintf(errStream, "%s version %q, revison %q\n", cn, version, revision)
fmt.Fprintf(errStream, "%s version %q, revision %q\n", cn, version, revision)
return nil, ErrShowVersion
}

Expand Down Expand Up @@ -115,7 +115,7 @@ func fill2(args []string, outStream, errStream io.Writer, version, revision stri
return nil, err
}
if v {
fmt.Fprintf(errStream, "%s version %q, revison %q\n", cn, version, revision)
fmt.Fprintf(errStream, "%s version %q, revision %q\n", cn, version, revision)
return nil, ErrShowVersion
}

Expand Down
2 changes: 1 addition & 1 deletion nrseg_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ func validate(t *testing.T, gotpath, wantpath string) {
}
rel, err := filepath.Rel(gotpath, path)
if err != nil {
t.Errorf("fileapth.Rel(): not want error at %q: %v", path, err)
t.Errorf("filepath.Rel(): not want error at %q: %v", path, err)
return err
}
wfp := filepath.Join(wantpath, rel)
Expand Down