Skip to content

Commit

Permalink
fix check
Browse files Browse the repository at this point in the history
  • Loading branch information
day253 committed Oct 19, 2024
1 parent fb6fe07 commit 562cfb2
Show file tree
Hide file tree
Showing 11 changed files with 7 additions and 15 deletions.
2 changes: 2 additions & 0 deletions Makefile.mk
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,7 @@ golangci-lint:
-E gocritic \
-E gofmt \
-E goimports \
--skip-dirs=protocols \
./...

golangci-lint-fix:
Expand All @@ -106,6 +107,7 @@ golangci-lint-fix:
-E gocritic \
-E gofmt \
-E goimports \
--skip-dirs=protocols \
./...

.PHONY: package
Expand Down
1 change: 0 additions & 1 deletion protocols/arbiter/handler.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ package main

import (
"context"

service "github.com/ishumei/krpc/protocols/arbiter/kitex_gen/com/shumei/service"
)

Expand Down
3 changes: 1 addition & 2 deletions protocols/arbiter/main.go
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
package main

import (
"log"

service "github.com/ishumei/krpc/protocols/arbiter/kitex_gen/com/shumei/service/predictor"
"log"
)

func main() {
Expand Down
1 change: 0 additions & 1 deletion protocols/audio/handler.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ package main

import (
"context"

re "github.com/ishumei/krpc/protocols/audio/kitex_gen/shumei/strategy/re"
)

Expand Down
3 changes: 1 addition & 2 deletions protocols/audio/main.go
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
package main

import (
"log"

re "github.com/ishumei/krpc/protocols/audio/kitex_gen/shumei/strategy/re/audiopredictor"
"log"
)

func main() {
Expand Down
1 change: 0 additions & 1 deletion protocols/event/handler.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ package main

import (
"context"

re "github.com/ishumei/krpc/protocols/event/kitex_gen/shumei/strategy/re"
)

Expand Down
3 changes: 1 addition & 2 deletions protocols/event/main.go
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
package main

import (
"log"

re "github.com/ishumei/krpc/protocols/event/kitex_gen/shumei/strategy/re/eventpredictor"
"log"
)

func main() {
Expand Down
1 change: 0 additions & 1 deletion protocols/image/handler.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ package main

import (
"context"

re "github.com/ishumei/krpc/protocols/image/kitex_gen/shumei/strategy/re"
)

Expand Down
3 changes: 1 addition & 2 deletions protocols/image/main.go
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
package main

import (
"log"

re "github.com/ishumei/krpc/protocols/image/kitex_gen/shumei/strategy/re/imagepredictor"
"log"
)

func main() {
Expand Down
1 change: 0 additions & 1 deletion protocols/text/handler.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ package main

import (
"context"

re "github.com/ishumei/krpc/protocols/text/kitex_gen/shumei/strategy/re"
)

Expand Down
3 changes: 1 addition & 2 deletions protocols/text/main.go
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
package main

import (
"log"

re "github.com/ishumei/krpc/protocols/text/kitex_gen/shumei/strategy/re/textpredictor"
"log"
)

func main() {
Expand Down

0 comments on commit 562cfb2

Please sign in to comment.