mirror of
https://git.sr.ht/~ashkeel/strimertul
synced 2024-09-20 02:00:49 +00:00
8 lines
194 B
Go
8 lines
194 B
Go
package utils
|
|
|
|
// Comparable is a workaround for Go incomplete implementation of generics
|
|
// See https://github.com/golang/go/issues/56548
|
|
type Comparable interface {
|
|
Equals(Comparable) bool
|
|
}
|