Struct Types

A struct is a collection of fields

   type Customer struct {
    id int primaryKey
    firstName string
    lastName string
    birthDate date
   } end

It represents an SQL table. Structs normally have a primary key field, but it is not required.