build(deps): bump go.tmz.dev/musttag from 0.7.0 to 0.7.1 (#3924)
Co-authored-by: Fernandez Ludovic <ldez@users.noreply.github.com>
This commit is contained in:
parent
bbcabb739c
commit
a303529ad3
2
go.mod
2
go.mod
@ -115,7 +115,7 @@ require (
|
||||
github.com/yeya24/promlinter v0.2.0
|
||||
github.com/ykadowak/zerologlint v0.1.3
|
||||
gitlab.com/bosi/decorder v0.2.3
|
||||
go.tmz.dev/musttag v0.7.0
|
||||
go.tmz.dev/musttag v0.7.1
|
||||
golang.org/x/exp v0.0.0-20230510235704-dd950f8aeaea
|
||||
golang.org/x/tools v0.10.0
|
||||
gopkg.in/yaml.v3 v3.0.1
|
||||
|
4
go.sum
generated
4
go.sum
generated
@ -586,8 +586,8 @@ go.opencensus.io v0.22.2/go.mod h1:yxeiOL68Rb0Xd1ddK5vPZ/oVn4vY4Ynel7k9FzqtOIw=
|
||||
go.opencensus.io v0.22.3/go.mod h1:yxeiOL68Rb0Xd1ddK5vPZ/oVn4vY4Ynel7k9FzqtOIw=
|
||||
go.opencensus.io v0.22.4/go.mod h1:yxeiOL68Rb0Xd1ddK5vPZ/oVn4vY4Ynel7k9FzqtOIw=
|
||||
go.opencensus.io v0.22.5/go.mod h1:5pWMHQbX5EPX2/62yrJeAkowc+lfs/XD7Uxpq3pI6kk=
|
||||
go.tmz.dev/musttag v0.7.0 h1:QfytzjTWGXZmChoX0L++7uQN+yRCPfyFm+whsM+lfGc=
|
||||
go.tmz.dev/musttag v0.7.0/go.mod h1:oTFPvgOkJmp5kYL02S8+jrH0eLrBIl57rzWeA26zDEM=
|
||||
go.tmz.dev/musttag v0.7.1 h1:9lFmeSFnFfPuMq4IksHGomItE6NgKMNW2Nt2FPOhCfU=
|
||||
go.tmz.dev/musttag v0.7.1/go.mod h1:oJLkpR56EsIryktZJk/B0IroSMi37YWver47fibGh5U=
|
||||
go.uber.org/atomic v1.7.0 h1:ADUqmZGgLDDfbSL9ZmPxKTybcoEYHgpYfELNoN+7hsw=
|
||||
go.uber.org/atomic v1.7.0/go.mod h1:fEN4uk6kAWBTFdckzkM89CLk9XfWZrxpCo0nPH17wJc=
|
||||
go.uber.org/goleak v1.1.11 h1:wy28qYRKZgnJTxGxvye5/wgWr1EKjmUDGYox5mGlRlI=
|
||||
|
2
test/testdata/musttag.go
vendored
2
test/testdata/musttag.go
vendored
@ -8,7 +8,7 @@ import (
|
||||
|
||||
// builtin functions:
|
||||
func musttagJSON() {
|
||||
var user struct { // want "`anonymous struct` should be annotated with the `json` tag as it is passed to `json.Marshal` at test(/|\\\\)testdata(/|\\\\)musttag.go:15:2"
|
||||
var user struct { // want "`anonymous struct` should be annotated with the `json` tag as it is passed to `json.Marshal` at "
|
||||
Name string
|
||||
Email string `json:"email"`
|
||||
}
|
||||
|
4
test/testdata/musttag_custom.go
vendored
4
test/testdata/musttag_custom.go
vendored
@ -9,7 +9,7 @@ import (
|
||||
|
||||
// builtin functions:
|
||||
func musttagJSONCustom() {
|
||||
var user struct { // want "`anonymous struct` should be annotated with the `json` tag as it is passed to `json.Marshal` at test(/|\\\\)testdata(/|\\\\)musttag_custom.go:16:2"
|
||||
var user struct { // want "`anonymous struct` should be annotated with the `json` tag as it is passed to `json.Marshal` at "
|
||||
Name string
|
||||
Email string `json:"email"`
|
||||
}
|
||||
@ -18,7 +18,7 @@ func musttagJSONCustom() {
|
||||
|
||||
// custom functions from config:
|
||||
func musttagASN1Custom() {
|
||||
var user struct { // want "`anonymous struct` should be annotated with the `asn1` tag as it is passed to `asn1.Marshal` at test(/|\\\\)testdata(/|\\\\)musttag_custom.go:25:2"
|
||||
var user struct { // want "`anonymous struct` should be annotated with the `asn1` tag as it is passed to `asn1.Marshal` at "
|
||||
Name string
|
||||
Email string `asn1:"email"`
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user