Skip to content

Commit

Permalink
tagliatelle enabled
Browse files Browse the repository at this point in the history
  • Loading branch information
asmyasnikov committed Dec 31, 2023
1 parent 321be1b commit a718e01
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
1 change: 0 additions & 1 deletion .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -250,7 +250,6 @@ linters:
- scopelint
- structcheck
- tagalign
- tagliatelle
- testableexamples
- testifylint
- testpackage
Expand Down
1 change: 1 addition & 0 deletions examples/topic/topicreader/topicreader_simple.go
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ func ReadMessagesByBatch(ctx context.Context, reader *topicreader.Reader) {

// UnmarshalMessageContentToJSONStruct is example for effective way for unmarshal json message content to value
func UnmarshalMessageContentToJSONStruct(msg *topicreader.Message) {
//nolint:tagliatelle
type S struct {
MyField int `json:"my_field"`
}
Expand Down

0 comments on commit a718e01

Please sign in to comment.