diff --git a/.golangci.yml b/.golangci.yml index 102d0e3ed..20ba8b095 100644 --- a/.golangci.yml +++ b/.golangci.yml @@ -239,7 +239,6 @@ linters: - maintidx - nonamedreturns - paralleltest - - structcheck - testableexamples - testpackage - thelper diff --git a/internal/pool/pool_test.go b/internal/pool/pool_test.go index 63f8a1c11..f3457f389 100644 --- a/internal/pool/pool_test.go +++ b/internal/pool/pool_test.go @@ -19,8 +19,6 @@ import ( ) type testItem struct { - v uint32 - onClose func() error onIsAlive func() bool } diff --git a/internal/topic/topicwriterinternal/message.go b/internal/topic/topicwriterinternal/message.go index 5c618e631..35b1dca5d 100644 --- a/internal/topic/topicwriterinternal/message.go +++ b/internal/topic/topicwriterinternal/message.go @@ -23,7 +23,6 @@ type PublicMessage struct { // partitioning at level message available by protocol, but doesn't available by current server implementation // the field hidden from public access for prevent runtime errors. // it will be published after implementation on server side. - futurePartitioning PublicFuturePartitioning } // PublicFuturePartitioning will be published in feature, after server implementation completed. diff --git a/internal/topic/topicwriterinternal/writer_config.go b/internal/topic/topicwriterinternal/writer_config.go index 7ae0a3265..74c9a5b4d 100644 --- a/internal/topic/topicwriterinternal/writer_config.go +++ b/internal/topic/topicwriterinternal/writer_config.go @@ -6,7 +6,6 @@ import ( "github.com/jonboulle/clockwork" "github.com/ydb-platform/ydb-go-sdk/v3/credentials" - "github.com/ydb-platform/ydb-go-sdk/v3/internal/grpcwrapper/rawtopic/rawtopiccommon" "github.com/ydb-platform/ydb-go-sdk/v3/internal/grpcwrapper/rawtopic/rawtopicwriter" "github.com/ydb-platform/ydb-go-sdk/v3/trace" ) @@ -22,5 +21,4 @@ type WritersCommonConfig struct { cred credentials.Credentials credUpdateInterval time.Duration clock clockwork.Clock - forceCodec rawtopiccommon.Codec }