influxdata / influxdata/influxdb1-client

go get fails

Open
#49 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Go
Stars
192
Forks
109
PR merge metrics
No merged PRs in 30d

Description

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?

Contributor guide

No contributing guide indexed for this repository

Research direction

Reproduce the failure with `go get github.com/influxdata/influxdb1-client/v2`, then inspect `lib/src/github.com/influxdata/flux/values/dict.go` at line 261 and the `immutable.NewSortedMapBuilder` call. Check the relevant immutable dependency API and determine what is needed for the client to build successfully with `go get`.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
api
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.