A few things: * As illustrated by the output in your README, it appears your "make list" command is only compiling "main/main.go", rather than both "main/main.go" and "main/run.go" * There can only be one main function per main package in Go, so I'm not sure how main/run.go and main/main.go are expected to coexist in a valid Go application
On Wednesday, August 16, 2023 at 9:05:49 AM UTC-4 John Pritchard wrote: > Hi, > > I have a disparity between "go run" [ > https://go.dev/play/p/5mr5M0luZ9k?v=goprev] > and "go build" [https://github.com/syntelos/go-type-abstraction/tree/third]. > Using go version 1.21.0. > > A fairly simple structure of type abstraction works on play.go.dev, but > fails to build. > > Comments? Issue? > > Thanks, > > John > > > -- 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 golang-nuts+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/golang-nuts/b59e8956-5fdc-41a3-bb3f-87921a685fa6n%40googlegroups.com.