Re: [go-nuts] Re: just started using modules, what have i missed?.

2024-05-02 Thread 'simon place' via golang-nuts
On Thursday 2 May 2024 at 22:45:55 UTC+1 burak serdar wrote: You can simply clone the github repo. You don't need go get for this. When you're ready, import it and then go mod tidy. ummm, could be the best way, i'll compare with the script, (dummy) route. -- You received this message

Re: [go-nuts] Re: just started using modules, what have i missed?.

2024-05-02 Thread burak serdar
You can simply clone the github repo. You don't need go get for this. When you're ready, import it and then go mod tidy. On Thu, May 2, 2024 at 3:39 PM 'simon place' via golang-nuts wrote: > > thanks for the reply, yes a library, that i want to investigate, i don't have > a project until after.

[go-nuts] Re: just started using modules, what have i missed?.

2024-05-02 Thread 'simon place' via golang-nuts
thanks for the reply, yes a library, that i want to investigate, i don't have a project until after. this is whats ive been doing for years, but in 1.22 seems this way of working has stopped being supported. On Thursday 2 May 2024 at 19:31:53 UTC+1 Carla Pfaff wrote: > It's not clear what your

[go-nuts] Re: just started using modules, what have i missed?.

2024-05-02 Thread 'Carla Pfaff' via golang-nuts
It's not clear what your end goal is. github.com/vulkan-go/vulkan is a library. Do you want to use it as a dependency in one of your projects or not? If you want to use it as a dependency, then yes, "go mod init " your project first before adding a dependency with "go get". On Thursday 2 May