https://github.com/ifooth/playground-go
Playground for go
https://github.com/ifooth/playground-go
go
Last synced: 8 days ago
JSON representation
Playground for go
- Host: GitHub
- URL: https://github.com/ifooth/playground-go
- Owner: ifooth
- Created: 2022-05-15T09:30:16.000Z (about 4 years ago)
- Default Branch: master
- Last Pushed: 2022-05-15T10:00:20.000Z (about 4 years ago)
- Last Synced: 2025-02-23T23:12:32.490Z (over 1 year ago)
- Topics: go
- Language: Go
- Homepage:
- Size: 8.79 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Playground for go
[Go 编程语言规范](https://go.dev/ref/spec)
## Order of evaluation 执行顺序
在包级别,初始化依赖关系确定变量声明中各个初始化表达式的评估顺序。 否则,在计算表达式、赋值或返回语句的操作数时,所有函数调用、方法调用和通信操作都按词法从左到右的顺序计算。
来源: [知乎](https://www.zhihu.com/question/65916025/answer/2484976011)