1
0
mirror of https://github.com/go-kratos/kratos.git synced 2026-05-22 10:15:24 +02:00

ci(github action): use golangci-lint to replace the deprecated golint (#1175)

* ci: use golangci-lint to replace the deprecated golint

Co-authored-by: ymh199478 <yumenghan@bilibili.com>
This commit is contained in:
喵喵大人
2021-07-12 18:09:38 +08:00
committed by GitHub
parent a7b1af764f
commit 4780b6e1fd
6 changed files with 32 additions and 18 deletions
+1 -4
View File
@@ -67,10 +67,7 @@ func (c codec) Unmarshal(data []byte, v interface{}) error {
return MapProto(m, vs)
}
if err := c.decoder.Decode(v, vs); err != nil {
return err
}
return nil
return c.decoder.Decode(v, vs)
}
func (codec) Name() string {