From 553ee853e8b79424e0d0f10470db8de7c29627f2 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 | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) 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..2418bb4ac 100644 --- a/examples/topic/topicreader/topicreader_simple.go +++ b/examples/topic/topicreader/topicreader_simple.go @@ -33,7 +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) { - type S struct { + type S struct { //nolint:tagliatelle MyField int `json:"my_field"` }