SyntaxFix
Write A Post
Hire A Developer
Questions
No import is necessary as long as you declare both a.go and b.go to be in the same package. Then, you can use go run to recognize multiple files with:
a.go
b.go
go run
$ go run a.go b.go