0
I am studying go (golang) and I have a question regarding the import of files, the doubt is about something "elementary" but I could not find anything specifically about it.
I have a package (test) so arranged:
test -> main.go
-> test.go
I would like to import the test go. inside main go.?
//em javascript seria algo assim:
//main.go
require('./test.go')
How to do the same in go?
On youtube you have plenty of material explaining about packages. https://www.youtube.com/watch?v=n9hPwNx_UPI
– Rafael G Firmino