I had create folder in go/src/conv.io. This folder contain two files one main and other conversion.go
now the issue is that i don’t know how to import custom folder from relative path
in my case “home/ali/go/src/conv.io/conversion”
Help me
I had create folder in go/src/conv.io. This folder contain two files one main and other conversion.go
now the issue is that i don’t know how to import custom folder from relative path
in my case “home/ali/go/src/conv.io/conversion”
If they have different packages they need to live in different folders.
You are not allowed to have more than one package in a folder (except for test packages).
thank you for help
This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.