I have two files main.go which is under package main, and another file with some functions in the package called functions.
main.go
package main
My question is:
you can write
import( functions "./functions" ) func main(){ c:= functions.getValue() <- }
If you write in gopath write this import functions "MyProj/functions" or if you are working with Docker
gopath
functions "MyProj/functions"