std

command
v0.0.0-...-6c2044b Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 6, 2022 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
for range if else switch case default fallthrough 跳轉語句:break continue goto
for range if else switch case default fallthrough 跳轉語句:break continue goto
map
Map (1) key必须是支持==和!=比较运算的类型,不可以是func,map,slice (2) map使用make创建 make([keyType]valueType,capacity),capacity容量可以省略
Map (1) key必须是支持==和!=比较运算的类型,不可以是func,map,slice (2) map使用make创建 make([keyType]valueType,capacity),capacity容量可以省略
cli
select
【golang select机制】 检查每个case语句 如果有任意一个chan是send or receive ready,那么就执行该block 如果多个case是ready的,那么随机找1个并执行该block 如果都没有ready,那么就block and wait 如果有default block,而且其他的case都没有ready,就执行该default block
【golang select机制】 检查每个case语句 如果有任意一个chan是send or receive ready,那么就执行该block 如果多个case是ready的,那么随机找1个并执行该block 如果都没有ready,那么就block and wait 如果有default block,而且其他的case都没有ready,就执行该default block
Method Expressions: MethodExpr = ReceiverType "." MethodName ReceiverType = TypeName | "(" "*" TypeName ")" | "(" ReceiverType ")"
Method Expressions: MethodExpr = ReceiverType "." MethodName ReceiverType = TypeName | "(" "*" TypeName ")" | "(" ReceiverType ")"
test

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL