Skip to content

Commit

Permalink
structcheck1
Browse files Browse the repository at this point in the history
  • Loading branch information
ВИКТОР authored and ВИКТОР committed May 5, 2024
1 parent 7842cf9 commit 40f87a4
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 6 deletions.
1 change: 0 additions & 1 deletion .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -239,7 +239,6 @@ linters:
- maintidx
- nonamedreturns
- paralleltest
- structcheck
- testableexamples
- testpackage
- thelper
Expand Down
2 changes: 0 additions & 2 deletions internal/pool/pool_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,6 @@ import (
)

type testItem struct {
v uint32

onClose func() error
onIsAlive func() bool
}
Expand Down
1 change: 0 additions & 1 deletion internal/topic/topicwriterinternal/message.go
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
2 changes: 0 additions & 2 deletions internal/topic/topicwriterinternal/writer_config.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"
)
Expand All @@ -22,5 +21,4 @@ type WritersCommonConfig struct {
cred credentials.Credentials
credUpdateInterval time.Duration
clock clockwork.Clock
forceCodec rawtopiccommon.Codec
}

0 comments on commit 40f87a4

Please sign in to comment.