Kompilacja warunkowa Golang

Mam problem z kompilacją warunkową w Go 1.

Oto mój kod testowy. Czy jest coś, czego nie rozumiem w związku z ograniczeniem „// + build” i flagą „-tags”?

main1.go

// +build main1
package main

import (
    "fmt"
)

func main() {
    fmt.Println("This is main 1")
}

main2.go

// +build main2
package main

import (
    "fmt"
)

func main() {
    fmt.Println("This is main 2")
}

podczas uruchamiania „go build” nadal występuje błąd kompilacji

$ go build -tags 'main1'
# test
./main2.go:8: main redeclared in this block
        previous declaration at ./main1.go:8

questionAnswers(4)

yourAnswerToTheQuestion