How do i fix this?

go get github. com /valyala /fasthttp
it returns in my windows command promt:
go: github. com/valyala/fasthttp: invalid github.com import path “github .com/valyala”
my git version:
git version 2.35.1.windows.2
how do i fix it
i added spaces in the links to let me post, theyre not like that in my terminal

Where exactly do you have spaces on your command prompt and where did you add them just to avoid the URL posting limit?

The error suggests that the space between /valyala and /fasthttp on the first line has been like that in the command you issued on the terminal. If that is true, try again without that space. The only spaces in that command should be the 2 surrounding get.

1 Like

the command to get the library could be:

go get -u github.com/valyala/fasthttp

And in your source code

import "github.com/valyala/fasthttp"
1 Like

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.