Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // $ tree
- // .
- // ├── main.go
- // ├── second.go
- // ```go build main.go```
- // or
- // ```go build .```
- // file: main.go
- package main
- import (
- "fmt"
- )
- func main() {
- fmt.Println("this is package MAIN")
- }
- // file: second.go
- package main
- import (
- "fmt"
- )
- func main() {
- fmt.Println("this is package SECOND")
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement