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