On Wed, Feb 28, 2018 at 6:30 PM <[email protected]> wrote:
> package main splited between two files, than in file with main func, function from other file is used as argument to wrapping function. After go run main.go I have got undefined <name of func>. Is it a bug, > or could it be my machine, I run it under Android on Linovo Tab? I ask this Question on stackoverflow.com: https://stackoverflow.com/questions/49029905/package-files-undefined-func-is-it-a-bug IINM, this is WAI. You need to list all files for `go run`, for example `go run *.go`. -- -j -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
