Skip to content

Commit 875fec3

Browse files
authored
chore: fix typos (#5210)
1 parent 60128c2 commit 875fec3

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

rest/server_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ Port: 0
9292
Path: "/",
9393
Handler: nil,
9494
}, WithJwt("thesecret"), WithSignature(SignatureConf{}),
95-
WithJwtTransition("preivous", "thenewone"))
95+
WithJwtTransition("previous", "thenewone"))
9696

9797
func() {
9898
defer func() {

tools/goctl/model/sql/command/migrationnotes/migrationnotes.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import (
55
"github.com/zeromicro/go-zero/tools/goctl/util/format"
66
)
77

8-
// BeforeCommands run before comamnd run to show some migration notes
8+
// BeforeCommands run before command run to show some migration notes
99
func BeforeCommands(dir, style string) error {
1010
if err := migrateBefore1_3_4(dir, style); err != nil {
1111
return err

tools/goctl/pkg/protoc/protoc.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ func Install(cacheDir string) (string, error) {
4343
case vars.OsLinux:
4444
downloadUrl = url[fmt.Sprintf("%s_%d", vars.OsLinux, bit)]
4545
default:
46-
return "", fmt.Errorf("unsupport OS: %q", goos)
46+
return "", fmt.Errorf("unsupported OS: %q", goos)
4747
}
4848

4949
err := downloader.Download(downloadUrl, tempFile)

0 commit comments

Comments
 (0)