Sign in
go
/
playground
/
aaee5e5179ed78276507d3f16ea1017a2d5c98e9
/
.
/
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!")
}