Callback exercise...trying again https://play.golang.org/p/7AH5xa2w-2c

Cool.

From the Language Specification.

A type determines a set of values together with operations and methods specific to those values. A type may be denoted by a type name , if it has one, or specified using a type literal , which composes a type from existing types.

Type = TypeName | TypeLit | “(” Type “)” . TypeName = identifier | QualifiedIdent . TypeLit = ArrayType | StructType | PointerType | FunctionType | InterfaceType | SliceType | MapType | ChannelType .

type printInt func(int)

So “printInt” is the TypeName? and “func(int)” is the type?