2
opa, all right? I tried to create a module in Go language in visual studio. The module refers to a folder called "1 - Packages". but when I write the code only appears this. I’m starting in programming and do not understand much.
PS C:\Users\arthu\OneDrive\Documentos\5. Programação\Visual Studio\Golang> cd 1\ -\ Pacotes/
Set-Location : Não é possível localizar um parâmetro posicional que aceite o argumento '-\'.
No linha:1 caractere:1
+ cd 1\ -\ Pacotes/
+ ~~~~~~~~~~~~~~~~~
+ CategoryInfo : InvalidArgument: (:) [Set-Location], ParameterBindingException
+ FullyQualifiedErrorId : PositionalParameterNotFound,Microsoft.PowerShell.Commands.SetLocationCommand
PS C:\Users\arthu\OneDrive\Documentos\5. Programação\Visual Studio\Golang>
It would help if you put your code and the structure of your project into the question. Another piece of information you’d better clarify is whether your project was initialized as
Go Module
or not, because if it wasn’t Go will only be able to import the dependencies if your project is within theGo Path
– Andre