Hi, I’m trying to import this module.
import (
"github.com/tidwall/gjson"
)
As per the documentation I used the command:
ebuild --import-go-project github.com/tidwall/gjson
which runs correctly without errors.
However, during the build phase it fails:
E: No member "Ref" on type "go.builtin.int" [C:\_WORK_\Experiments\Elements\Library2\github.com.tidwall.gjson\gjson.go (3223)]
E: No member "Ref" on type "go.builtin.int" [C:\_WORK_\Experiments\Elements\Library2\github.com.tidwall.gjson\gjson.go (3223)]
E: Type mismatch [C:\_WORK_\Experiments\Elements\Library2\github.com.tidwall.gjson\gjson.go (3223)]
E: No member "Ref" on type "go.builtin.int" [C:\_WORK_\Experiments\Elements\Library2\github.com.tidwall.gjson\gjson.go (3224)]
E: No member "Ref" on type "go.builtin.int" [C:\_WORK_\Experiments\Elements\Library2\github.com.tidwall.gjson\gjson.go (3225)]
E: No member "Ref" on type "go.builtin.int" [C:\_WORK_\Experiments\Elements\Library2\github.com.tidwall.gjson\gjson.go (3227)]
E: No member "Ref" on type "go.builtin.int" [C:\_WORK_\Experiments\Elements\Library2\github.com.tidwall.gjson\gjson.go (3227)]
E: Type mismatch [C:\_WORK_\Experiments\Elements\Library2\github.com.tidwall.gjson\gjson.go (3227)]
E: No member "Ref" on type "go.builtin.int" [C:\_WORK_\Experiments\Elements\Library2\github.com.tidwall.gjson\gjson.go (3248)]
E: No member "Ref" on type "go.builtin.int" [C:\_WORK_\Experiments\Elements\Library2\github.com.tidwall.gjson\gjson.go (3248)]
Thanks.