```
# syscall
D:\Go\src\syscall\ztypes_windows.go:9:36: ERROR_FILE_NOT_FOUND redeclared in this block
previous declaration at D:\Go\src\syscall\types_windows.go:9:36
D:\Go\src\syscall\ztypes_windows.go:10:36: ERROR_PATH_NOT_FOUND redeclared in this block
previous declaration at D:\Go\src\syscall\types_windows.go:10:36
D:\Go\src\syscall\ztypes_windows.go:11:36: ERROR_ACCESS_DENIED redeclared in this block
previous declaration at D:\Go\src\syscall\types_windows.go:11:36
D:\Go\src\syscall\ztypes_windows.go:12:36: ERROR_NO_MORE_FILES redeclared in this block
previous declaration at D:\Go\src\syscall\types_windows.go:12:36
D:\Go\src\syscall\ztypes_windows.go:13:36: ERROR_HANDLE_EOF redeclared in this block
previous declaration at D:\Go\src\syscall\types_windows.go:13:36
D:\Go\src\syscall\ztypes_windows.go:14:36: ERROR_NETNAME_DELETED redeclared in this block
previous declaration at D:\Go\src\syscall\types_windows.go:14:36
D:\Go\src\syscall\ztypes_windows.go:15:36: ERROR_FILE_EXISTS redeclared in this block
previous declaration at D:\Go\src\syscall\types_windows.go:15:36
D:\Go\src\syscall\ztypes_windows.go:16:36: ERROR_BROKEN_PIPE redeclared in this block
previous declaration at D:\Go\src\syscall\types_windows.go:16:36
D:\Go\src\syscall\ztypes_windows.go:17:36: ERROR_BUFFER_OVERFLOW redeclared in this block
previous declaration at D:\Go\src\syscall\types_windows.go:17:36
D:\Go\src\syscall\ztypes_windows.go:18:36: ERROR_INSUFFICIENT_BUFFER redeclared in this block
previous declaration at D:\Go\src\syscall\types_windows.go:18:36
D:\Go\src\syscall\ztypes_windows.go:18:36: too many errors
```
package main
import (
"fmt"
)
// 函数外定义的变量为全局变量
func main() {
fmt.println(123456)
}
#2
更多评论