Same name cannot be declared again inside a same scope. There are following types of scopes in Go:
package: Each Go package has it’s ownscope. For e.g. declaredfuncsare onlyvisibleto the files belonging to samepackage.file: Imported packages are only visible to the importing file. Each file has to import external packages on it’s own.func.block.