go get github.com/influxdata/influxdb1-client/v2
gives this error:
github.com/influxdata/flux/values
......\lib\src\github.com\influxdata\flux\values\dict.go:261:25: cannot use immutable.NewSortedMap(dictComparer(dictType)) (type immutable.SortedMap) as type immutable.Comparer in argument to immutable.NewSortedMapBuilder:
immutable.SortedMap does not implement immutable.Comparer (missing Compare method)
go get github.com/influxdata/influxdb1-client/v2 gives this error:
github.com/influxdata/flux/values
......\lib\src\github.com\influxdata\flux\values\dict.go:261:25: cannot use immutable.NewSortedMap(dictComparer(dictType)) (type immutable.SortedMap) as type immutable.Comparer in argument to immutable.NewSortedMapBuilder: immutable.SortedMap does not implement immutable.Comparer (missing Compare method)
What could be the issue?