go built-in functions

close()

len()

cap()

new()

make() //slice, map, channel

append()

copy()

delete()

complex()

real()

imag()

panic()

recover()

 

close(ch) //panic when ch is nil or closed channel

len(ch)) //number of elements queued in channel buffer

cap(ch)//channel buffer capacity

你可能感兴趣的:(functions)