Closed
Description
Go playground has a multi-file support, like https://play.golang.org/p/rq4J90MxTKJ
package main
import (
"play.ground/foo"
)
func main() {
foo.Bar()
}
-- go.mod --
module play.ground
-- foo/foo.go --
package foo
import "fmt"
func Bar() {
fmt.Println("This function lives in an another file!")
}
Is there any way to execute similar snippet in go-playground?