Skip to content

Commit a303529

Browse files
build(deps): bump go.tmz.dev/musttag from 0.7.0 to 0.7.1 (#3924)
Co-authored-by: Fernandez Ludovic <[email protected]>
1 parent bbcabb7 commit a303529

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

go.mod

+1-1
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ require (
115115
github.com/yeya24/promlinter v0.2.0
116116
github.com/ykadowak/zerologlint v0.1.3
117117
gitlab.com/bosi/decorder v0.2.3
118-
go.tmz.dev/musttag v0.7.0
118+
go.tmz.dev/musttag v0.7.1
119119
golang.org/x/exp v0.0.0-20230510235704-dd950f8aeaea
120120
golang.org/x/tools v0.10.0
121121
gopkg.in/yaml.v3 v3.0.1

go.sum

+2-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

test/testdata/musttag.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import (
88

99
// builtin functions:
1010
func musttagJSON() {
11-
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"
11+
var user struct { // want "`anonymous struct` should be annotated with the `json` tag as it is passed to `json.Marshal` at "
1212
Name string
1313
Email string `json:"email"`
1414
}

test/testdata/musttag_custom.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ import (
99

1010
// builtin functions:
1111
func musttagJSONCustom() {
12-
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"
12+
var user struct { // want "`anonymous struct` should be annotated with the `json` tag as it is passed to `json.Marshal` at "
1313
Name string
1414
Email string `json:"email"`
1515
}
@@ -18,7 +18,7 @@ func musttagJSONCustom() {
1818

1919
// custom functions from config:
2020
func musttagASN1Custom() {
21-
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"
21+
var user struct { // want "`anonymous struct` should be annotated with the `asn1` tag as it is passed to `asn1.Marshal` at "
2222
Name string
2323
Email string `asn1:"email"`
2424
}

0 commit comments

Comments
 (0)