We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
┌──(himanshu㉿kali)-[~] └─$ go install github.com/lc/gau/v2/cmd/gau@latest
go/pkg/mod/github.com/deckarep/golang-set/[email protected]/iterator.go:30:17: error: expected ‘]’ 30 | type Iterator[T comparable] struct { | ^ go/pkg/mod/github.com/deckarep/golang-set/[email protected]/iterator.go:32:9: error: expected declaration 32 | stop chan struct{} | ^ go/pkg/mod/github.com/deckarep/golang-set/[email protected]/iterator.go:33:1: error: expected declaration 33 | } | ^ go/pkg/mod/github.com/deckarep/golang-set/[email protected]/iterator.go:36:18: error: expected ‘)’ 36 | func (i *Iterator[T]) Stop() { | ^ go/pkg/mod/github.com/deckarep/golang-set/[email protected]/iterator.go:36:18: error: expected function name go/pkg/mod/github.com/deckarep/golang-set/[email protected]/iterator.go:36:18: error: expected ‘;’ or newline after top level declaration go/pkg/mod/github.com/deckarep/golang-set/[email protected]/iterator.go:41:9: error: expected declaration 41 | }() | ^ go/pkg/mod/github.com/deckarep/golang-set/[email protected]/iterator.go:43:9: error: expected declaration 43 | close(i.stop) | ^ go/pkg/mod/github.com/deckarep/golang-set/[email protected]/iterator.go:46:9: error: expected declaration 46 | for range i.C { | ^ go/pkg/mod/github.com/deckarep/golang-set/[email protected]/iterator.go:48:1: error: expected declaration 48 | } | ^ go/pkg/mod/github.com/deckarep/golang-set/[email protected]/iterator.go:51:17: error: expected ‘(’ 51 | func newIteratorT comparable (*Iterator[T], chan<- T, <-chan struct{}) { | ^ go/pkg/mod/github.com/deckarep/golang-set/[email protected]/iterator.go:51:20: error: expected ‘]’ 51 | func newIteratorT comparable (*Iterator[T], chan<- T, <-chan struct{}) { | ^ go/pkg/mod/github.com/deckarep/golang-set/[email protected]/iterator.go:51:20: error: expected ‘;’ or newline after top level declaration go/pkg/mod/github.com/deckarep/golang-set/[email protected]/iterator.go:53:9: error: expected declaration 53 | stopChan := make(chan struct{}) | ^ go/pkg/mod/github.com/deckarep/golang-set/[email protected]/iterator.go:53:39: error: expected ‘;’ or newline after top level declaration 53 | stopChan := make(chan struct{}) | ^ go/pkg/mod/github.com/deckarep/golang-set/[email protected]/iterator.go:54:9: error: expected declaration 54 | return &Iterator[T]{ | ^ go/pkg/mod/github.com/deckarep/golang-set/[email protected]/iterator.go:57:10: error: expected ‘;’ or newline after top level declaration 57 | }, itemChan, stopChan | ^ go/pkg/mod/github.com/deckarep/golang-set/[email protected]/iterator.go:58:1: error: expected declaration 58 | } | ^ go/pkg/mod/github.com/deckarep/golang-set/[email protected]/set.go:41:12: error: expected ‘]’ 41 | type Set[T comparable] interface { | ^ go/pkg/mod/github.com/deckarep/golang-set/[email protected]/set.go:48:9: error: expected declaration 48 | Append(val ...T) int | ^ go/pkg/mod/github.com/deckarep/golang-set/[email protected]/set.go:51:9: error: expected declaration 51 | Cardinality() int | ^ go/pkg/mod/github.com/deckarep/golang-set/[email protected]/set.go:55:9: error: expected declaration 55 | Clear() | ^ go/pkg/mod/github.com/deckarep/golang-set/[email protected]/set.go:59:9: error: expected declaration 59 | Clone() Set[T] | ^ go/pkg/mod/github.com/deckarep/golang-set/[email protected]/set.go:63:9: error: expected declaration 63 | Contains(val ...T) bool | ^ go/pkg/mod/github.com/deckarep/golang-set/[email protected]/set.go:74:9: error: expected declaration 74 | Difference(other Set[T]) Set[T] | ^ go/pkg/mod/github.com/deckarep/golang-set/[email protected]/set.go:85:9: error: expected declaration 85 | Equal(other Set[T]) bool | ^ go/pkg/mod/github.com/deckarep/golang-set/[email protected]/set.go:94:9: error: expected declaration 94 | Intersect(other Set[T]) Set[T] | ^ go/pkg/mod/github.com/deckarep/golang-set/[email protected]/set.go:103:9: error: expected declaration 103 | IsProperSubset(other Set[T]) bool | ^ go/pkg/mod/github.com/deckarep/golang-set/[email protected]/set.go:113:9: error: expected declaration 113 | IsProperSuperset(other Set[T]) bool | ^ go/pkg/mod/github.com/deckarep/golang-set/[email protected]/set.go:122:9: error: expected declaration 122 | IsSubset(other Set[T]) bool | ^ go/pkg/mod/github.com/deckarep/golang-set/[email protected]/set.go:131:9: error: expected declaration 131 | IsSuperset(other Set[T]) bool | ^ go/pkg/mod/github.com/deckarep/golang-set/[email protected]/set.go:135:9: error: expected declaration 135 | Each(func(T) bool) | ^ go/pkg/mod/github.com/deckarep/golang-set/[email protected]/set.go:139:9: error: expected declaration 139 | Iter() <-chan T | ^ go/pkg/mod/github.com/deckarep/golang-set/[email protected]/set.go:143:9: error: expected declaration 143 | Iterator() *Iterator[T] | ^ go/pkg/mod/github.com/deckarep/golang-set/[email protected]/set.go:146:9: error: expected declaration 146 | Remove(i T) | ^ go/pkg/mod/github.com/deckarep/golang-set/[email protected]/set.go:149:9: error: expected declaration 149 | RemoveAll(i ...T) | ^ go/pkg/mod/github.com/deckarep/golang-set/[email protected]/set.go:153:9: error: expected declaration 153 | String() string | ^ go/pkg/mod/github.com/deckarep/golang-set/[email protected]/set.go:162:9: error: expected declaration 162 | SymmetricDifference(other Set[T]) Set[T] | ^ go/pkg/mod/github.com/deckarep/golang-set/[email protected]/set.go:169:9: error: expected declaration 169 | Union(other Set[T]) Set[T] | ^ go/pkg/mod/github.com/deckarep/golang-set/[email protected]/set.go:172:9: error: expected declaration 172 | Pop() (T, bool) | ^ go/pkg/mod/github.com/deckarep/golang-set/[email protected]/set.go:175:9: error: expected declaration 175 | ToSlice() []T | ^ go/pkg/mod/github.com/deckarep/golang-set/[email protected]/set.go:178:9: error: expected declaration 178 | MarshalJSON() ([]byte, error) | ^ go/pkg/mod/github.com/deckarep/golang-set/[email protected]/set.go:182:9: error: expected declaration 182 | UnmarshalJSON(b []byte) error | ^ go/pkg/mod/github.com/deckarep/golang-set/[email protected]/set.go:183:1: error: expected declaration 183 | } | ^ go/pkg/mod/github.com/deckarep/golang-set/[email protected]/set.go:187:12: error: expected ‘(’ 187 | func NewSet[T comparable](vals ...T) Set[T] { | ^ go/pkg/mod/github.com/deckarep/golang-set/[email protected]/set.go:187:15: error: expected ‘]’ 187 | func NewSet[T comparable](vals ...T) Set[T] { | ^ go/pkg/mod/github.com/deckarep/golang-set/[email protected]/set.go:187:15: error: expected ‘;’ or newline after top level declaration go/pkg/mod/github.com/deckarep/golang-set/[email protected]/set.go:189:9: error: expected declaration 189 | for _, item := range vals { | ^ go/pkg/mod/github.com/deckarep/golang-set/[email protected]/set.go:191:9: error: expected declaration 191 | } | ^ go/pkg/mod/github.com/deckarep/golang-set/[email protected]/set.go:192:9: error: expected declaration 192 | return s | ^ go/pkg/mod/github.com/deckarep/golang-set/[email protected]/set.go:193:1: error: expected declaration 193 | } | ^ go/pkg/mod/github.com/deckarep/golang-set/[email protected]/set.go:197:20: error: expected ‘(’ 197 | func NewSetWithSize[T comparable](cardinality int) Set[T] { | ^ go/pkg/mod/github.com/deckarep/golang-set/[email protected]/set.go:197:23: error: expected ‘]’ 197 | func NewSetWithSize[T comparable](cardinality int) Set[T] { | ^ go/pkg/mod/github.com/deckarep/golang-set/[email protected]/set.go:197:23: error: expected ‘;’ or newline after top level declaration go/pkg/mod/github.com/deckarep/golang-set/[email protected]/set.go:199:9: error: expected declaration 199 | return s | ^ go/pkg/mod/github.com/deckarep/golang-set/[email protected]/set.go:200:1: error: expected declaration 200 | } | ^ go/pkg/mod/github.com/deckarep/golang-set/[email protected]/set.go:204:24: error: expected ‘(’ 204 | func NewThreadUnsafeSet[T comparable](vals ...T) Set[T] { | ^ go/pkg/mod/github.com/deckarep/golang-set/[email protected]/set.go:204:27: error: expected ‘]’ 204 | func NewThreadUnsafeSet[T comparable](vals ...T) Set[T] { | ^ go/pkg/mod/github.com/deckarep/golang-set/[email protected]/set.go:204:27: error: expected ‘;’ or newline after top level declaration go/pkg/mod/github.com/deckarep/golang-set/[email protected]/set.go:206:9: error: expected declaration 206 | for _, item := range vals { | ^ go/pkg/mod/github.com/deckarep/golang-set/[email protected]/set.go:208:9: error: expected declaration 208 | } | ^ go/pkg/mod/github.com/deckarep/golang-set/[email protected]/set.go:209:9: error: expected declaration 209 | return s | ^ go/pkg/mod/github.com/deckarep/golang-set/[email protected]/set.go:210:1: error: expected declaration 210 | } | ^ go/pkg/mod/github.com/deckarep/golang-set/[email protected]/set.go:214:32: error: expected ‘(’ 214 | func NewThreadUnsafeSetWithSize[T comparable](cardinality int) Set[T] { | ^ go/pkg/mod/github.com/deckarep/golang-set/[email protected]/set.go:214:35: error: expected ‘]’ 214 | func NewThreadUnsafeSetWithSize[T comparable](cardinality int) Set[T] { | ^ go/pkg/mod/github.com/deckarep/golang-set/[email protected]/set.go:214:35: error: expected ‘;’ or newline after top level declaration go/pkg/mod/github.com/deckarep/golang-set/[email protected]/set.go:216:9: error: expected declaration 216 | return s | ^ go/pkg/mod/github.com/deckarep/golang-set/[email protected]/set.go:217:1: error: expected declaration 217 | } | ^ go/pkg/mod/github.com/deckarep/golang-set/[email protected]/set.go:221:23: error: expected ‘(’ 221 | func NewSetFromMapKeys[T comparable, V any](val map[T]V) Set[T] { | ^ go/pkg/mod/github.com/deckarep/golang-set/[email protected]/set.go:221:26: error: expected ‘]’ 221 | func NewSetFromMapKeys[T comparable, V any](val map[T]V) Set[T] { | ^ go/pkg/mod/github.com/deckarep/golang-set/[email protected]/set.go:221:26: error: expected ‘;’ or newline after top level declaration go/pkg/mod/github.com/deckarep/golang-set/[email protected]/set.go:224:9: error: expected declaration 224 | for k := range val { | ^ go/pkg/mod/github.com/deckarep/golang-set/[email protected]/set.go:226:9: error: expected declaration 226 | } | ^ go/pkg/mod/github.com/deckarep/golang-set/[email protected]/set.go:228:9: error: expected declaration 228 | return s | ^ go/pkg/mod/github.com/deckarep/golang-set/[email protected]/set.go:229:1: error: expected declaration 229 | } | ^ go/pkg/mod/github.com/deckarep/golang-set/[email protected]/set.go:233:35: error: expected ‘(’ 233 | func NewThreadUnsafeSetFromMapKeys[T comparable, V any](val map[T]V) Set[T] { | ^ go/pkg/mod/github.com/deckarep/golang-set/[email protected]/set.go:233:38: error: expected ‘]’ 233 | func NewThreadUnsafeSetFromMapKeys[T comparable, V any](val map[T]V) Set[T] { | ^ go/pkg/mod/github.com/deckarep/golang-set/[email protected]/set.go:233:38: error: expected ‘;’ or newline after top level declaration go/pkg/mod/github.com/deckarep/golang-set/[email protected]/set.go:236:9: error: expected declaration 236 | for k := range val { | ^ go/pkg/mod/github.com/deckarep/golang-set/[email protected]/set.go:238:9: error: expected declaration 238 | } | ^ go/pkg/mod/github.com/deckarep/golang-set/[email protected]/set.go:240:9: error: expected declaration 240 | return s | ^ go/pkg/mod/github.com/deckarep/golang-set/[email protected]/set.go:241:1: error: expected declaration 241 | } | ^ go/pkg/mod/github.com/deckarep/golang-set/[email protected]/threadsafe.go:30:22: error: expected ‘]’ 30 | type threadSafeSet[T comparable] struct { | ^ go/pkg/mod/github.com/deckarep/golang-set/[email protected]/threadsafe.go:32:9: error: expected declaration 32 | uss threadUnsafeSet[T] | ^ go/pkg/mod/github.com/deckarep/golang-set/[email protected]/threadsafe.go:33:1: error: expected declaration 33 | } | ^ go/pkg/mod/github.com/deckarep/golang-set/[email protected]/threadsafe.go:35:22: error: expected ‘(’ 35 | func newThreadSafeSetT comparable *threadSafeSet[T] { | ^ go/pkg/mod/github.com/deckarep/golang-set/[email protected]/threadsafe.go:35:25: error: expected ‘]’ 35 | func newThreadSafeSetT comparable *threadSafeSet[T] { | ^ go/pkg/mod/github.com/deckarep/golang-set/[email protected]/threadsafe.go:35:25: error: expected ‘;’ or newline after top level declaration go/pkg/mod/github.com/deckarep/golang-set/[email protected]/threadsafe.go:39:1: error: expected declaration 39 | } | ^ go/pkg/mod/github.com/deckarep/golang-set/[email protected]/threadsafe.go:41:30: error: expected ‘(’ 41 | func newThreadSafeSetWithSize[T comparable](cardinality int) *threadSafeSet[T] { | ^ go/pkg/mod/github.com/deckarep/golang-set/[email protected]/threadsafe.go:41:33: error: expected ‘]’ 41 | func newThreadSafeSetWithSize[T comparable](cardinality int) *threadSafeSet[T] { | ^ go/pkg/mod/github.com/deckarep/golang-set/[email protected]/threadsafe.go:41:33: error: expected ‘;’ or newline after top level declaration go/pkg/mod/github.com/deckarep/golang-set/[email protected]/threadsafe.go:45:1: error: expected declaration 45 | } | ^ go/pkg/mod/github.com/deckarep/golang-set/[email protected]/threadsafe.go:47:23: error: expected ‘)’ 47 | func (t *threadSafeSet[T]) Add(v T) bool { | ^ go/pkg/mod/github.com/deckarep/golang-set/[email protected]/threadsafe.go:47:23: error: expected function name go/pkg/mod/github.com/deckarep/golang-set/[email protected]/threadsafe.go:47:23: error: expected ‘;’ or newline after top level declaration go/pkg/mod/github.com/deckarep/golang-set/[email protected]/threadsafe.go:49:9: error: expected declaration 49 | ret := t.uss.Add(v) | ^ go/pkg/mod/github.com/deckarep/golang-set/[email protected]/threadsafe.go:50:9: error: expected declaration 50 | t.Unlock() | ^ go/pkg/mod/github.com/deckarep/golang-set/[email protected]/threadsafe.go:51:9: error: expected declaration 51 | return ret | ^ go/pkg/mod/github.com/deckarep/golang-set/[email protected]/threadsafe.go:52:1: error: expected declaration 52 | } | ^ go/pkg/mod/github.com/deckarep/golang-set/[email protected]/threadsafe.go:54:23: error: expected ‘)’ 54 | func (t *threadSafeSet[T]) Append(v ...T) int { | ^ go/pkg/mod/github.com/deckarep/golang-set/[email protected]/threadsafe.go:54:23: error: expected function name go/pkg/mod/github.com/deckarep/golang-set/[email protected]/threadsafe.go:54:23: error: expected ‘;’ or newline after top level declaration go/pkg/mod/github.com/deckarep/golang-set/[email protected]/threadsafe.go:56:9: error: expected declaration 56 | ret := t.uss.Append(v...) | ^ go/pkg/mod/github.com/deckarep/golang-set/[email protected]/threadsafe.go:57:9: error: expected declaration 57 | t.Unlock() | ^ go/pkg/mod/github.com/deckarep/golang-set/[email protected]/threadsafe.go:58:9: error: expected declaration 58 | return ret | ^ go/pkg/mod/github.com/deckarep/golang-set/[email protected]/threadsafe.go:59:1: error: expected declaration 59 | } | ^ go/pkg/mod/github.com/deckarep/golang-set/[email protected]/threadsafe.go:61:23: error: expected ‘)’ 61 | func (t *threadSafeSet[T]) Contains(v ...T) bool { | ^ go/pkg/mod/github.com/deckarep/golang-set/[email protected]/threadsafe.go:61:23: error: expected function name go/pkg/mod/github.com/deckarep/golang-set/[email protected]/threadsafe.go:61:23: error: expected ‘;’ or newline after top level declaration go/pkg/mod/github.com/deckarep/golang-set/[email protected]/threadsafe.go:63:9: error: expected declaration 63 | ret := t.uss.Contains(v...) | ^ go/pkg/mod/github.com/deckarep/golang-set/[email protected]/threadsafe.go:64:9: error: expected declaration 64 | t.RUnlock() | ^ go/pkg/mod/github.com/deckarep/golang-set/[email protected]/threadsafe.go:66:9: error: expected declaration 66 | return ret | ^ go/pkg/mod/github.com/deckarep/golang-set/[email protected]/threadsafe.go:67:1: error: expected declaration 67 | } | ^ go/pkg/mod/github.com/deckarep/golang-set/[email protected]/threadsafe.go:69:23: error: expected ‘)’ 69 | func (t *threadSafeSet[T]) IsSubset(other Set[T]) bool { | ^ go/pkg/mod/github.com/deckarep/golang-set/[email protected]/threadsafe.go:69:23: error: expected function name go/pkg/mod/github.com/deckarep/golang-set/[email protected]/threadsafe.go:69:23: error: expected ‘;’ or newline after top level declaration go/pkg/mod/github.com/deckarep/golang-set/[email protected]/threadsafe.go:72:9: error: expected declaration 72 | t.RLock()
The text was updated successfully, but these errors were encountered:
No branches or pull requests
┌──(himanshu㉿kali)-[~]
└─$ go install github.com/lc/gau/v2/cmd/gau@latest
github.com/deckarep/golang-set/v2
go/pkg/mod/github.com/deckarep/golang-set/[email protected]/iterator.go:30:17: error: expected ‘]’
30 | type Iterator[T comparable] struct {
| ^
go/pkg/mod/github.com/deckarep/golang-set/[email protected]/iterator.go:32:9: error: expected declaration
32 | stop chan struct{}
| ^
go/pkg/mod/github.com/deckarep/golang-set/[email protected]/iterator.go:33:1: error: expected declaration
33 | }
| ^
go/pkg/mod/github.com/deckarep/golang-set/[email protected]/iterator.go:36:18: error: expected ‘)’
36 | func (i *Iterator[T]) Stop() {
| ^
go/pkg/mod/github.com/deckarep/golang-set/[email protected]/iterator.go:36:18: error: expected function name
go/pkg/mod/github.com/deckarep/golang-set/[email protected]/iterator.go:36:18: error: expected ‘;’ or newline after top level declaration
go/pkg/mod/github.com/deckarep/golang-set/[email protected]/iterator.go:41:9: error: expected declaration
41 | }()
| ^
go/pkg/mod/github.com/deckarep/golang-set/[email protected]/iterator.go:43:9: error: expected declaration
43 | close(i.stop)
| ^
go/pkg/mod/github.com/deckarep/golang-set/[email protected]/iterator.go:46:9: error: expected declaration
46 | for range i.C {
| ^
go/pkg/mod/github.com/deckarep/golang-set/[email protected]/iterator.go:48:1: error: expected declaration
48 | }
| ^
go/pkg/mod/github.com/deckarep/golang-set/[email protected]/iterator.go:51:17: error: expected ‘(’
51 | func newIteratorT comparable (*Iterator[T], chan<- T, <-chan struct{}) {
| ^
go/pkg/mod/github.com/deckarep/golang-set/[email protected]/iterator.go:51:20: error: expected ‘]’
51 | func newIteratorT comparable (*Iterator[T], chan<- T, <-chan struct{}) {
| ^
go/pkg/mod/github.com/deckarep/golang-set/[email protected]/iterator.go:51:20: error: expected ‘;’ or newline after top level declaration
go/pkg/mod/github.com/deckarep/golang-set/[email protected]/iterator.go:53:9: error: expected declaration
53 | stopChan := make(chan struct{})
| ^
go/pkg/mod/github.com/deckarep/golang-set/[email protected]/iterator.go:53:39: error: expected ‘;’ or newline after top level declaration
53 | stopChan := make(chan struct{})
| ^
go/pkg/mod/github.com/deckarep/golang-set/[email protected]/iterator.go:54:9: error: expected declaration
54 | return &Iterator[T]{
| ^
go/pkg/mod/github.com/deckarep/golang-set/[email protected]/iterator.go:57:10: error: expected ‘;’ or newline after top level declaration
57 | }, itemChan, stopChan
| ^
go/pkg/mod/github.com/deckarep/golang-set/[email protected]/iterator.go:58:1: error: expected declaration
58 | }
| ^
go/pkg/mod/github.com/deckarep/golang-set/[email protected]/set.go:41:12: error: expected ‘]’
41 | type Set[T comparable] interface {
| ^
go/pkg/mod/github.com/deckarep/golang-set/[email protected]/set.go:48:9: error: expected declaration
48 | Append(val ...T) int
| ^
go/pkg/mod/github.com/deckarep/golang-set/[email protected]/set.go:51:9: error: expected declaration
51 | Cardinality() int
| ^
go/pkg/mod/github.com/deckarep/golang-set/[email protected]/set.go:55:9: error: expected declaration
55 | Clear()
| ^
go/pkg/mod/github.com/deckarep/golang-set/[email protected]/set.go:59:9: error: expected declaration
59 | Clone() Set[T]
| ^
go/pkg/mod/github.com/deckarep/golang-set/[email protected]/set.go:63:9: error: expected declaration
63 | Contains(val ...T) bool
| ^
go/pkg/mod/github.com/deckarep/golang-set/[email protected]/set.go:74:9: error: expected declaration
74 | Difference(other Set[T]) Set[T]
| ^
go/pkg/mod/github.com/deckarep/golang-set/[email protected]/set.go:85:9: error: expected declaration
85 | Equal(other Set[T]) bool
| ^
go/pkg/mod/github.com/deckarep/golang-set/[email protected]/set.go:94:9: error: expected declaration
94 | Intersect(other Set[T]) Set[T]
| ^
go/pkg/mod/github.com/deckarep/golang-set/[email protected]/set.go:103:9: error: expected declaration
103 | IsProperSubset(other Set[T]) bool
| ^
go/pkg/mod/github.com/deckarep/golang-set/[email protected]/set.go:113:9: error: expected declaration
113 | IsProperSuperset(other Set[T]) bool
| ^
go/pkg/mod/github.com/deckarep/golang-set/[email protected]/set.go:122:9: error: expected declaration
122 | IsSubset(other Set[T]) bool
| ^
go/pkg/mod/github.com/deckarep/golang-set/[email protected]/set.go:131:9: error: expected declaration
131 | IsSuperset(other Set[T]) bool
| ^
go/pkg/mod/github.com/deckarep/golang-set/[email protected]/set.go:135:9: error: expected declaration
135 | Each(func(T) bool)
| ^
go/pkg/mod/github.com/deckarep/golang-set/[email protected]/set.go:139:9: error: expected declaration
139 | Iter() <-chan T
| ^
go/pkg/mod/github.com/deckarep/golang-set/[email protected]/set.go:143:9: error: expected declaration
143 | Iterator() *Iterator[T]
| ^
go/pkg/mod/github.com/deckarep/golang-set/[email protected]/set.go:146:9: error: expected declaration
146 | Remove(i T)
| ^
go/pkg/mod/github.com/deckarep/golang-set/[email protected]/set.go:149:9: error: expected declaration
149 | RemoveAll(i ...T)
| ^
go/pkg/mod/github.com/deckarep/golang-set/[email protected]/set.go:153:9: error: expected declaration
153 | String() string
| ^
go/pkg/mod/github.com/deckarep/golang-set/[email protected]/set.go:162:9: error: expected declaration
162 | SymmetricDifference(other Set[T]) Set[T]
| ^
go/pkg/mod/github.com/deckarep/golang-set/[email protected]/set.go:169:9: error: expected declaration
169 | Union(other Set[T]) Set[T]
| ^
go/pkg/mod/github.com/deckarep/golang-set/[email protected]/set.go:172:9: error: expected declaration
172 | Pop() (T, bool)
| ^
go/pkg/mod/github.com/deckarep/golang-set/[email protected]/set.go:175:9: error: expected declaration
175 | ToSlice() []T
| ^
go/pkg/mod/github.com/deckarep/golang-set/[email protected]/set.go:178:9: error: expected declaration
178 | MarshalJSON() ([]byte, error)
| ^
go/pkg/mod/github.com/deckarep/golang-set/[email protected]/set.go:182:9: error: expected declaration
182 | UnmarshalJSON(b []byte) error
| ^
go/pkg/mod/github.com/deckarep/golang-set/[email protected]/set.go:183:1: error: expected declaration
183 | }
| ^
go/pkg/mod/github.com/deckarep/golang-set/[email protected]/set.go:187:12: error: expected ‘(’
187 | func NewSet[T comparable](vals ...T) Set[T] {
| ^
go/pkg/mod/github.com/deckarep/golang-set/[email protected]/set.go:187:15: error: expected ‘]’
187 | func NewSet[T comparable](vals ...T) Set[T] {
| ^
go/pkg/mod/github.com/deckarep/golang-set/[email protected]/set.go:187:15: error: expected ‘;’ or newline after top level declaration
go/pkg/mod/github.com/deckarep/golang-set/[email protected]/set.go:189:9: error: expected declaration
189 | for _, item := range vals {
| ^
go/pkg/mod/github.com/deckarep/golang-set/[email protected]/set.go:191:9: error: expected declaration
191 | }
| ^
go/pkg/mod/github.com/deckarep/golang-set/[email protected]/set.go:192:9: error: expected declaration
192 | return s
| ^
go/pkg/mod/github.com/deckarep/golang-set/[email protected]/set.go:193:1: error: expected declaration
193 | }
| ^
go/pkg/mod/github.com/deckarep/golang-set/[email protected]/set.go:197:20: error: expected ‘(’
197 | func NewSetWithSize[T comparable](cardinality int) Set[T] {
| ^
go/pkg/mod/github.com/deckarep/golang-set/[email protected]/set.go:197:23: error: expected ‘]’
197 | func NewSetWithSize[T comparable](cardinality int) Set[T] {
| ^
go/pkg/mod/github.com/deckarep/golang-set/[email protected]/set.go:197:23: error: expected ‘;’ or newline after top level declaration
go/pkg/mod/github.com/deckarep/golang-set/[email protected]/set.go:199:9: error: expected declaration
199 | return s
| ^
go/pkg/mod/github.com/deckarep/golang-set/[email protected]/set.go:200:1: error: expected declaration
200 | }
| ^
go/pkg/mod/github.com/deckarep/golang-set/[email protected]/set.go:204:24: error: expected ‘(’
204 | func NewThreadUnsafeSet[T comparable](vals ...T) Set[T] {
| ^
go/pkg/mod/github.com/deckarep/golang-set/[email protected]/set.go:204:27: error: expected ‘]’
204 | func NewThreadUnsafeSet[T comparable](vals ...T) Set[T] {
| ^
go/pkg/mod/github.com/deckarep/golang-set/[email protected]/set.go:204:27: error: expected ‘;’ or newline after top level declaration
go/pkg/mod/github.com/deckarep/golang-set/[email protected]/set.go:206:9: error: expected declaration
206 | for _, item := range vals {
| ^
go/pkg/mod/github.com/deckarep/golang-set/[email protected]/set.go:208:9: error: expected declaration
208 | }
| ^
go/pkg/mod/github.com/deckarep/golang-set/[email protected]/set.go:209:9: error: expected declaration
209 | return s
| ^
go/pkg/mod/github.com/deckarep/golang-set/[email protected]/set.go:210:1: error: expected declaration
210 | }
| ^
go/pkg/mod/github.com/deckarep/golang-set/[email protected]/set.go:214:32: error: expected ‘(’
214 | func NewThreadUnsafeSetWithSize[T comparable](cardinality int) Set[T] {
| ^
go/pkg/mod/github.com/deckarep/golang-set/[email protected]/set.go:214:35: error: expected ‘]’
214 | func NewThreadUnsafeSetWithSize[T comparable](cardinality int) Set[T] {
| ^
go/pkg/mod/github.com/deckarep/golang-set/[email protected]/set.go:214:35: error: expected ‘;’ or newline after top level declaration
go/pkg/mod/github.com/deckarep/golang-set/[email protected]/set.go:216:9: error: expected declaration
216 | return s
| ^
go/pkg/mod/github.com/deckarep/golang-set/[email protected]/set.go:217:1: error: expected declaration
217 | }
| ^
go/pkg/mod/github.com/deckarep/golang-set/[email protected]/set.go:221:23: error: expected ‘(’
221 | func NewSetFromMapKeys[T comparable, V any](val map[T]V) Set[T] {
| ^
go/pkg/mod/github.com/deckarep/golang-set/[email protected]/set.go:221:26: error: expected ‘]’
221 | func NewSetFromMapKeys[T comparable, V any](val map[T]V) Set[T] {
| ^
go/pkg/mod/github.com/deckarep/golang-set/[email protected]/set.go:221:26: error: expected ‘;’ or newline after top level declaration
go/pkg/mod/github.com/deckarep/golang-set/[email protected]/set.go:224:9: error: expected declaration
224 | for k := range val {
| ^
go/pkg/mod/github.com/deckarep/golang-set/[email protected]/set.go:226:9: error: expected declaration
226 | }
| ^
go/pkg/mod/github.com/deckarep/golang-set/[email protected]/set.go:228:9: error: expected declaration
228 | return s
| ^
go/pkg/mod/github.com/deckarep/golang-set/[email protected]/set.go:229:1: error: expected declaration
229 | }
| ^
go/pkg/mod/github.com/deckarep/golang-set/[email protected]/set.go:233:35: error: expected ‘(’
233 | func NewThreadUnsafeSetFromMapKeys[T comparable, V any](val map[T]V) Set[T] {
| ^
go/pkg/mod/github.com/deckarep/golang-set/[email protected]/set.go:233:38: error: expected ‘]’
233 | func NewThreadUnsafeSetFromMapKeys[T comparable, V any](val map[T]V) Set[T] {
| ^
go/pkg/mod/github.com/deckarep/golang-set/[email protected]/set.go:233:38: error: expected ‘;’ or newline after top level declaration
go/pkg/mod/github.com/deckarep/golang-set/[email protected]/set.go:236:9: error: expected declaration
236 | for k := range val {
| ^
go/pkg/mod/github.com/deckarep/golang-set/[email protected]/set.go:238:9: error: expected declaration
238 | }
| ^
go/pkg/mod/github.com/deckarep/golang-set/[email protected]/set.go:240:9: error: expected declaration
240 | return s
| ^
go/pkg/mod/github.com/deckarep/golang-set/[email protected]/set.go:241:1: error: expected declaration
241 | }
| ^
go/pkg/mod/github.com/deckarep/golang-set/[email protected]/threadsafe.go:30:22: error: expected ‘]’
30 | type threadSafeSet[T comparable] struct {
| ^
go/pkg/mod/github.com/deckarep/golang-set/[email protected]/threadsafe.go:32:9: error: expected declaration
32 | uss threadUnsafeSet[T]
| ^
go/pkg/mod/github.com/deckarep/golang-set/[email protected]/threadsafe.go:33:1: error: expected declaration
33 | }
| ^
go/pkg/mod/github.com/deckarep/golang-set/[email protected]/threadsafe.go:35:22: error: expected ‘(’
35 | func newThreadSafeSetT comparable *threadSafeSet[T] {
| ^
go/pkg/mod/github.com/deckarep/golang-set/[email protected]/threadsafe.go:35:25: error: expected ‘]’
35 | func newThreadSafeSetT comparable *threadSafeSet[T] {
| ^
go/pkg/mod/github.com/deckarep/golang-set/[email protected]/threadsafe.go:35:25: error: expected ‘;’ or newline after top level declaration
go/pkg/mod/github.com/deckarep/golang-set/[email protected]/threadsafe.go:39:1: error: expected declaration
39 | }
| ^
go/pkg/mod/github.com/deckarep/golang-set/[email protected]/threadsafe.go:41:30: error: expected ‘(’
41 | func newThreadSafeSetWithSize[T comparable](cardinality int) *threadSafeSet[T] {
| ^
go/pkg/mod/github.com/deckarep/golang-set/[email protected]/threadsafe.go:41:33: error: expected ‘]’
41 | func newThreadSafeSetWithSize[T comparable](cardinality int) *threadSafeSet[T] {
| ^
go/pkg/mod/github.com/deckarep/golang-set/[email protected]/threadsafe.go:41:33: error: expected ‘;’ or newline after top level declaration
go/pkg/mod/github.com/deckarep/golang-set/[email protected]/threadsafe.go:45:1: error: expected declaration
45 | }
| ^
go/pkg/mod/github.com/deckarep/golang-set/[email protected]/threadsafe.go:47:23: error: expected ‘)’
47 | func (t *threadSafeSet[T]) Add(v T) bool {
| ^
go/pkg/mod/github.com/deckarep/golang-set/[email protected]/threadsafe.go:47:23: error: expected function name
go/pkg/mod/github.com/deckarep/golang-set/[email protected]/threadsafe.go:47:23: error: expected ‘;’ or newline after top level declaration
go/pkg/mod/github.com/deckarep/golang-set/[email protected]/threadsafe.go:49:9: error: expected declaration
49 | ret := t.uss.Add(v)
| ^
go/pkg/mod/github.com/deckarep/golang-set/[email protected]/threadsafe.go:50:9: error: expected declaration
50 | t.Unlock()
| ^
go/pkg/mod/github.com/deckarep/golang-set/[email protected]/threadsafe.go:51:9: error: expected declaration
51 | return ret
| ^
go/pkg/mod/github.com/deckarep/golang-set/[email protected]/threadsafe.go:52:1: error: expected declaration
52 | }
| ^
go/pkg/mod/github.com/deckarep/golang-set/[email protected]/threadsafe.go:54:23: error: expected ‘)’
54 | func (t *threadSafeSet[T]) Append(v ...T) int {
| ^
go/pkg/mod/github.com/deckarep/golang-set/[email protected]/threadsafe.go:54:23: error: expected function name
go/pkg/mod/github.com/deckarep/golang-set/[email protected]/threadsafe.go:54:23: error: expected ‘;’ or newline after top level declaration
go/pkg/mod/github.com/deckarep/golang-set/[email protected]/threadsafe.go:56:9: error: expected declaration
56 | ret := t.uss.Append(v...)
| ^
go/pkg/mod/github.com/deckarep/golang-set/[email protected]/threadsafe.go:57:9: error: expected declaration
57 | t.Unlock()
| ^
go/pkg/mod/github.com/deckarep/golang-set/[email protected]/threadsafe.go:58:9: error: expected declaration
58 | return ret
| ^
go/pkg/mod/github.com/deckarep/golang-set/[email protected]/threadsafe.go:59:1: error: expected declaration
59 | }
| ^
go/pkg/mod/github.com/deckarep/golang-set/[email protected]/threadsafe.go:61:23: error: expected ‘)’
61 | func (t *threadSafeSet[T]) Contains(v ...T) bool {
| ^
go/pkg/mod/github.com/deckarep/golang-set/[email protected]/threadsafe.go:61:23: error: expected function name
go/pkg/mod/github.com/deckarep/golang-set/[email protected]/threadsafe.go:61:23: error: expected ‘;’ or newline after top level declaration
go/pkg/mod/github.com/deckarep/golang-set/[email protected]/threadsafe.go:63:9: error: expected declaration
63 | ret := t.uss.Contains(v...)
| ^
go/pkg/mod/github.com/deckarep/golang-set/[email protected]/threadsafe.go:64:9: error: expected declaration
64 | t.RUnlock()
| ^
go/pkg/mod/github.com/deckarep/golang-set/[email protected]/threadsafe.go:66:9: error: expected declaration
66 | return ret
| ^
go/pkg/mod/github.com/deckarep/golang-set/[email protected]/threadsafe.go:67:1: error: expected declaration
67 | }
| ^
go/pkg/mod/github.com/deckarep/golang-set/[email protected]/threadsafe.go:69:23: error: expected ‘)’
69 | func (t *threadSafeSet[T]) IsSubset(other Set[T]) bool {
| ^
go/pkg/mod/github.com/deckarep/golang-set/[email protected]/threadsafe.go:69:23: error: expected function name
go/pkg/mod/github.com/deckarep/golang-set/[email protected]/threadsafe.go:69:23: error: expected ‘;’ or newline after top level declaration
go/pkg/mod/github.com/deckarep/golang-set/[email protected]/threadsafe.go:72:9: error: expected declaration
72 | t.RLock()
The text was updated successfully, but these errors were encountered: