Finally we can now use:
go run .
thanks to:
https://github.com/golang/go/issues/22726#issuecomment-345841019
More Related Contents:
- Create a generic channel
- How to use a module that is outside of “GOPATH” in another module?
- slice of struct != slice of interface it implements?
- How can I convert string to integer in golang
- Does Go compiler’s evaluation differ for constant expression and other expression
- Cyclic dependencies and interfaces
- Accessing struct fields inside a map value (without copying)
- Can I concurrently write different slice elements
- Golang Dependency Management Best Practice
- How can I pass a slice as a variadic input?
- Does Go provide REPL?
- How to compare if two structs, slices or maps are equal?
- Example for sync.WaitGroup correct?
- Stack vs heap allocation of structs in Go, and how they relate to garbage collection
- Is unnamed arguments a thing in Go?
- How to fix parsing go.mod module declares its path as “x” but was required as “y”
- What is the idiomatic Go equivalent of C’s ternary operator?
- Can I construct a slice of a generic type with different type parameters?
- Why would I make() or new()?
- How to import local packages in go?
- How to implement generic interfaces?
- How to compare Go errors
- How do you get the output of a system command in Go?
- How do you statically link a c library in go using cgo?
- Capture or assign golang template output to variable
- What is channel buffer size?
- Get exit code – Go
- Terminating a Process Started with os/exec in Golang
- Force priority of go select statement
- Go exec.Command() – run command which contains pipe