File structure:
folder/
main.go
file2.go
How do I import a function, xyz, from file2.go into main.go? I've tried importing it like so:
//**main.go**
import "file2"
xyz()
Then I read that two go files in the same directory are considered as part of the same "package" so i just tried calling the function without importing the file, but that didnt work either.