Package builtin
https://golang.org/pkg/builtin/
Table of Contents
Package
builtinprovides documentation for Go's predeclared identifiers. The items documented here are not actually in packagebuiltin.
func make(t Type, size ...IntegerType) Type reference
Allocates and initializes an object of type slice, map, or chan (only)
- Slice
- Map
- Channel
func copy(dst, src []Type) int reference
- As a special case, it also will copy bytes from a string to a slice of bytes.
- The
srcanddstmay overlap. - Returns the number of elements copied, which will be the minimum of
len(src)andlen(dst).