title: InvalidMake layout: article

InvalidMake occurs when make is called with an unsupported type argument.

See https://golang.org/ref/spec#Making_slices_maps_and_channels for
information on the types that may be created using make.

Example:
 var x = make(int)