优化gin结构 #23
Annotations
5 errors
|
|
|
tool/gin/example/main.go#L37
in call to handler.WrapReq, type func(ctx *"github.com/gin-gonic/gin".Context, req LoginRequest) "github.com/muxi-Infra/muxi-micro/pkg/transport/http".Response of func(ctx *gin.Context, req LoginRequest) t_http.Response {…} does not match inferred type func(*"github.com/gin-gonic/gin".Context, LoginRequest) for func(*"github.com/gin-gonic/gin".Context, Req)
|
|
tool/gin/example/main.go#L27
cannot use func(ctx *gin.Context) t_http.Response {…} (value of type func(ctx *"github.com/gin-gonic/gin".Context) "github.com/muxi-Infra/muxi-micro/pkg/transport/http".Response) as func(*"github.com/gin-gonic/gin".Context) value in argument to handler.Wrap
|
|
example/logger/logger.go#L6
no required module provides package github.com/muxi-Infra/muxi-micro/pkg/1/zapx; to add it:
|
|
example/logger/logger.go#L5
no required module provides package github.com/muxi-Infra/muxi-micro/pkg/1; to add it:
|
The logs for this run have expired and are no longer available.
Loading