3bul3
(bul)
September 24, 2023, 8:11am
1
sorry, I speak very bad American
( translated with deepl.com )
Hello to all
i was using go version 1.9 with package GitHub - andlabs/ui: Platform-native GUI library for Go.
I come back to it and I can’t install packages ( andlabs/ui,
mattn/go-gtk/gtk, visualfc/atk/tk … ) with go version 1.21.1
go get github.com/andlabs/ui@latest
but request go.mod
what do i do? need explanations, a lead
thanks in advance
j’ai eu quelques explications “ailleurs”
à priori il faut utiliser “go mod init …”
dès que je suis au point, je le met ici
lemarkar
(Leo Emar-Kar)
September 25, 2023, 12:43am
2
You need to initialise go module in folder of your project: go mod init <name of your project>
and then you will be able to download modules. Or you can also check install
flag.
3bul3
(bul)
September 25, 2023, 6:21am
3
ok
° go mod init test-andlabs-ui
° go mod tidy
° go get gitug.com/andlabs/ui@latest
° go run myprog.go
thank you, everything works
system
(system)
Closed
December 24, 2023, 6:21am
4
This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.