This doesn't work:
package main
var formatter string = "fmt"
import (
formatter
)
func main() {
fmt.Println(formatter)
}
I got: syntax error: non-declaration statement outside function body
Even though everything there is declaration.