Skip to content

Commit

Permalink
add any type
Browse files Browse the repository at this point in the history
  • Loading branch information
rekby committed Jan 12, 2024
1 parent de58b3b commit 811e1b0
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
6 changes: 6 additions & 0 deletions internal/topic/topicreaderinternal/any_1_17_test.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
package topicreaderinternal

// define any type for compatible mock with old go versions
//
//goland:noinspection ALL
type any = interface{}

Check failure on line 6 in internal/topic/topicreaderinternal/any_1_17_test.go

View workflow job for this annotation

GitHub Actions / golangci-lint

type any has same name as predeclared identifier (predeclared)
6 changes: 6 additions & 0 deletions internal/topic/topicwriterinternal/any_1_17_test.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
package topicwriterinternal

// define any type for compatible mock with old go versions
//
//goland:noinspection ALL
type any = interface{}

Check failure on line 6 in internal/topic/topicwriterinternal/any_1_17_test.go

View workflow job for this annotation

GitHub Actions / golangci-lint

type any has same name as predeclared identifier (predeclared)

0 comments on commit 811e1b0

Please sign in to comment.