-
Notifications
You must be signed in to change notification settings - Fork 51
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
go mod tidy fails because of ImGuiColorTextEdit/vendor #390
Comments
it complains only about vendor direcctories so my assume is that since |
some details in https://github.com/gucio321/vendor-package-issue |
according to golang/go#70303 it was fixed in golang/go#37397 just a month ago and will be present in next go release 1.24. |
Any workaround at the moment? |
@FinecoFinit I don't know any yet. Does this affect your project anyhow? (e.g giu works without go mod tidy) |
@gucio321 I can't import it, missing in indexes, or I need to pull it with go get? |
you should go get. It works for me on isolated env FROM golang:latest
RUN mkdir /myproject
WORKDIR /myproject
RUN go mod init example.com
RUN go get github.com/AllenDang/cimgui-go
ENTRYPOINT /bin/bash and it works |
Still asks to run go mod tidy:
|
If this is on ci try running go get locally. |
I use Goland from local environment |
As I said above I'm able to do this from a clean enviroument. |
Command: go run -ldflags "-s -w -H=windowsgui -extldflags=-static" .\main.go
|
Try go get first go get github.com/AllenDang/[email protected] |
Same, asking for go mod tidy |
What's strange is that your go.mod days that everything about AllenDang is marked Maybe try to manually remove that and rerun go get |
Resolved with:
|
Could you show your gomod now(just to see a diff) |
Sure bud:
|
so i was probably a problem in your go.sum which couldn't be fixe due to cimgui-go issue. here is go.mod's diff github.com/faiface/mainthread v0.0.0-20171120011319-8b78f0a41ae3 // indirect
github.com/gobwas/glob v0.2.3 // indirect
github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da // indirect
+ github.com/golang/protobuf v1.5.2 // indirect
github.com/gucio321/glm-go v0.0.0-20241029220517-e1b5a3e011c8 // indirect
github.com/kennygrant/sanitize v1.2.4 // indirect
github.com/mazznoer/csscolorparser v0.1.5 // indirect
- github.com/napsy/go-css v0.0.0-20230611142900-9dd118f3874c // indirect
- github.com/pkg/browser v0.0.0-20240102092130-5ac0b6a4141c // indirect
+ github.com/napsy/go-css v0.0.0-20221107082635-4ed403047a64 // indirect
+ github.com/pkg/browser v0.0.0-20210911075715-681adbf594b8 // indirect
github.com/sahilm/fuzzy v0.1.1 // indirect
github.com/saintfish/chardet v0.0.0-20230101081208-5e3ef4b5456d // indirect
+ github.com/stretchr/testify v1.9.0 // indirect
github.com/temoto/robotstxt v1.1.2 // indirect
golang.design/x/hotkey v0.4.1 // indirect
golang.design/x/mainthread v0.3.0 // indirect sorry for this problem here. Unfortunately we need to wait for golang/go to release. |
The text was updated successfully, but these errors were encountered: