Stop using relative imports and add a go.mod file. Tested against Go 1.6 through Go pre-1.13, and gccgo.
9 lines
89 B
Go
9 lines
89 B
Go
package main
|
|
|
|
import "using2"
|
|
|
|
func main() {
|
|
if using2.Spam(37) != 37 {
|
|
panic(0)
|
|
}
|
|
}
|