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