Go 保留字关键字,运算符
Go 保留字关键字
default
func
interface
select
case
defer
go
map
struct
chan
else
goto
package
switch
const
fallthrough
if
range
type
continue
for
import
return
var
Go 支持普通的数字运算符,列出了当前支持的运算符,以及其优先级。它们全部是从左到右结合的。
Precedence Operator(s)
-------------------------------------------------------
Highest * / % << >> & &^
+ - | ^
== != < <= > >=
<-
&&
Lowest ||