Skip to content

Multi-file support #19

Closed
Closed
@velppa

Description

@velppa

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions