Separate directories! - main redeclared in this block



examples/same/same_one.go
package main

import (
    "fmt"
)

func main() {
    fmt.Println("Hello Same One")
}

examples/same/same_two.go
package main

import (
    "fmt"
)

func main() {
    fmt.Println("Hello Same Two")
}

go run .


examples/same/same.out
# _/home/gabor/work/slides/golang/examples/same
./same_two.go:7:6: main redeclared in this block
	previous declaration at ./same_one.go:7:6