mirror of
https://gitee.com/johng/gf
synced 2026-06-07 02:12:11 +08:00
ci(gci/import): improve golangci.yml and add gci linter (#4010)
This commit is contained in:
@ -7,10 +7,12 @@
|
||||
package main
|
||||
|
||||
import (
|
||||
"github.com/gogf/gf/contrib/rpc/grpcx/v2"
|
||||
"github.com/gogf/gf/example/rpc/grpcx/basic/protobuf"
|
||||
"github.com/gogf/gf/v2/frame/g"
|
||||
"github.com/gogf/gf/v2/os/gctx"
|
||||
|
||||
"github.com/gogf/gf/contrib/rpc/grpcx/v2"
|
||||
|
||||
"github.com/gogf/gf/example/rpc/grpcx/basic/protobuf"
|
||||
)
|
||||
|
||||
func main() {
|
||||
|
||||
@ -10,6 +10,7 @@ import (
|
||||
"context"
|
||||
|
||||
"github.com/gogf/gf/contrib/rpc/grpcx/v2"
|
||||
|
||||
"github.com/gogf/gf/example/rpc/grpcx/basic/protobuf"
|
||||
)
|
||||
|
||||
|
||||
@ -8,6 +8,7 @@ package main
|
||||
|
||||
import (
|
||||
"github.com/gogf/gf/contrib/rpc/grpcx/v2"
|
||||
|
||||
"github.com/gogf/gf/example/rpc/grpcx/basic/controller"
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user