File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -103,7 +103,7 @@ type T struct {
103
103
104
104
NOTE: ** The ` exprName ` under the same struct field cannot be the same!**
105
105
106
- | Operator or Expression example | Explain|
106
+ | Operator or Operand | Explain|
107
107
| -----| ---------|
108
108
| ` true ` ` false ` | bool|
109
109
| ` 0 ` ` 0.0 ` | float64 "0"|
@@ -145,6 +145,7 @@ NOTE: **The `exprName` under the same struct field cannot be the same!**
145
145
|`>>`|Integer bitwise `shift right`| -->
146
146
147
147
Operator priority(high -> low):
148
+
148
149
* ` () ` ` bool ` ` string ` ` float64 ` ` nil ` ` ! `
149
150
* ` * ` ` / ` ` % `
150
151
* ` + ` ` - `
Original file line number Diff line number Diff line change @@ -103,7 +103,7 @@ type T struct {
103
103
}
104
104
```
105
105
106
- | Operator or Expression example | Explain|
106
+ | Operator or Operand | Explain|
107
107
| -----| ---------|
108
108
| ` true ` ` false ` | bool|
109
109
| ` 0 ` ` 0.0 ` | float64 "0"|
You can’t perform that action at this time.
0 commit comments