From a718e011ad09c552fb99dcb46975e49471a20a65 Mon Sep 17 00:00:00 2001 From: Aleksey Myasnikov Date: Sun, 31 Dec 2023 03:23:48 +0300 Subject: [PATCH] tagliatelle enabled --- .golangci.yml | 1 - examples/topic/topicreader/topicreader_simple.go | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/.golangci.yml b/.golangci.yml index b458386b2..e97ca0e6b 100644 --- a/.golangci.yml +++ b/.golangci.yml @@ -250,7 +250,6 @@ linters: - scopelint - structcheck - tagalign - - tagliatelle - testableexamples - testifylint - testpackage diff --git a/examples/topic/topicreader/topicreader_simple.go b/examples/topic/topicreader/topicreader_simple.go index 4c9cb9e47..a652567c5 100644 --- a/examples/topic/topicreader/topicreader_simple.go +++ b/examples/topic/topicreader/topicreader_simple.go @@ -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"` }