Run ❯
Get your
own
website
Result Size:
625 x 565
×
Change Orientation
Change Theme, Dark/Light
Go to Spaces
package main import ("fmt") func main() { const A = 1 A = 2 fmt.Println(A) }
x
package
main
import
(
"fmt"
)
func
main
() {
const
A
=
1
A
=
2
fmt
.
Println
(
A
)
}
./prog.go:8:7: cannot assign to A