HomeLangGoNamed Type
Table of Contents
A type declaration makes it possible to give a name to an existing type.
type Point struct{ X, Y int } var p Point