Sign in
go
/
playground
/
06f643856d35e2be7d78245fbf84a85b2293d21d
/
.
/
examples
/
multi.txt
blob: 0c2800d929c4d69bb31ed0dee01b2fe32865623a [
file
] [
log
] [
blame
]
// Title: Multiple files
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!")
}