Variable Scope in Go
                                    The scope of a variable in Golang determines which part of the program the variable is accessible to. In Go, all identifiers have a lexical scope that is determined at compile time.
                                    The scope of a variable in Golang determines which part of the program the variable is accessible to. In Go, all identifiers have a lexical scope that is determined at compile time.
                                    In Go language, Identifier can be a variable name, function name, constant, statement label, package name or type. Here is what you need to know about using Identifier in Golang.