Shadowing package variable



examples/shadowing-package-variable/shadowing_package_variable.go
package main

import (
    "fmt"
)

var x float32 = 3.14

func main() {
    fmt.Printf("%v %T\n", x, x)
    x := 23
    fmt.Printf("%v %T\n", x, x)
}

3.14 float32
23 int