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 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 <name>" 
> your project first before adding a dependency with "go get".
>
> On Thursday 2 May 2024 at 19:17:03 UTC+2 simon place wrote:
>
>>
>> *simon@fedora:~$ go get github.com/vulkan-go/vulkan 
>> <http://github.com/vulkan-go/vulkan>*
>>
>>
>>
>>
>>
>>
>> *go: go.mod file not found in current directory or any parent directory. 
>> 'go get' is no longer supported outside a module. To build and install a 
>> command, use 'go install' with a version, like 'go install 
>> example.com/cmd@latest <http://example.com/cmd@latest>' For more 
>> information, see https://golang.org/doc/go-get-install-deprecation 
>> <https://golang.org/doc/go-get-install-deprecation> or run 'go help get' or 
>> 'go help install'.*
>> *simon@fedora:~$ go install github.com/vulkan-go/vulkan 
>> <http://github.com/vulkan-go/vulkan>*
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>> *go: 'go install' requires a version when current directory is not in a 
>> module Try 'go install github.com/vulkan-go/vulkan@latest 
>> <http://github.com/vulkan-go/vulkan@latest>' to install the latest 
>> versionsimon@fedora:~$ go install github.com/vulkan-go/vulkan@latest 
>> <http://github.com/vulkan-go/vulkan@latest>package 
>> github.com/vulkan-go/vulkan <http://github.com/vulkan-go/vulkan> is not a 
>> main packagesimon@fedora:~$ go get github.com/vulkan-go/vulkan@latest 
>> <http://github.com/vulkan-go/vulkan@latest>go: go.mod file not found in 
>> current directory or any parent directory. 'go get' is no longer supported 
>> outside a module. To build and install a command, use 'go install' with a 
>> version, like 'go install example.com/cmd@latest 
>> <http://example.com/cmd@latest>' For more information, see 
>> https://golang.org/doc/go-get-install-deprecation 
>> <https://golang.org/doc/go-get-install-deprecation> or run 'go help get' or 
>> 'go help install'.simon@fedora:~$ *
>>
>> so, i guess, i can make a dummy package that imports what i want, then  
>> init + tidy + get and erase it all! if this is it, then a simple script is 
>> needed, but surely im missing something.
>>
>> to me you need a lib package, with its documentation, first, in order to 
>> try/test alternatives.
>>
>>

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/golang-nuts/2475eb7d-d065-49b3-b488-cd53ab75a3e1n%40googlegroups.com.

Reply via email to