Skip to content

Commit

Permalink
build(deps): bump go.tmz.dev/musttag from 0.7.0 to 0.7.1 (#3924)
Browse files Browse the repository at this point in the history
Co-authored-by: Fernandez Ludovic <ldez@users.noreply.github.com>
  • Loading branch information
dependabot[bot] and ldez committed Jun 23, 2023
1 parent bbcabb7 commit a303529
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion go.mod
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions go.sum

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion test/testdata/musttag.go
Expand Up @@ -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"`
}
Expand Down
4 changes: 2 additions & 2 deletions test/testdata/musttag_custom.go
Expand Up @@ -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"`
}
Expand All @@ -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"`
}
Expand Down

0 comments on commit a303529

Please sign in to comment.