Golang undefined variable
go, undefined
Solution
Try
go run Test.go someFile.go
Problem
I have 2 go files: `/Users/username/go/src/Test/src/main/Test.go` ``` package main import "fmt" func main() { fmt.Printf(SomeVar) } ``` and file `/Users/username/go/src/Test/src/main/someFile.go` ``` package main const SomeVar = "someFile" ``` However I am constantly getting compiler error: /Users/username/go/src/Test/src/main/Test.go:6: undefined: SomeVar Can someone explain to me why is `SomeVar` labeled as undefined?