What is static type declaration of a variable in Go?

Technology CommunityCategory: GolangWhat is static type declaration of a variable in Go?
VietMX Staff asked 3 years ago

Static type variable declaration provides assurance to the compiler that there is one variable existing with the given type and name so that compiler proceed for further compilation without needing complete detail about the variable. A variable declaration has its meaning at the time of compilation only, compiler needs actual variable declaration at the time of linking of the program.