mirror of
https://git.sr.ht/~ashkeel/strimertul
synced 2024-09-30 02:40:33 +00:00
7 lines
194 B
Go
7 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
|
|
}
|