mirror of
https://github.com/chai2010/advanced-go-programming-book.git
synced 2025-05-23 20:02:22 +00:00
Merge pull request #554 from wuYin/master
fix falseValue in ch3-03-const-and-var
This commit is contained in:
commit
1fe2409a33
@ -138,7 +138,7 @@ GLOBL ·boolValue(SB),$1 // 未初始化
|
||||
GLOBL ·trueValue(SB),$1 // var trueValue = true
|
||||
DATA ·trueValue(SB)/1,$1 // 非 0 均为 true
|
||||
|
||||
GLOBL ·falseValue(SB),$1 // var falseValue = true
|
||||
GLOBL ·falseValue(SB),$1 // var falseValue = false
|
||||
DATA ·falseValue(SB)/1,$0
|
||||
```
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user