Go · Function
make
make creates and initializes a slice, map, or channel. It returns that value, not a pointer.
Last updated
Syntax
func make(t Type, size ...IntegerType) TypeIn-depth API docs are only for subscribers: parameters, examples, common mistakes and interview practice.
SubscribeRelated
newappendlencapclose