Documentation ¶ Index ¶ func NewHandler() http.Handler type User Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func NewHandler ¶ func NewHandler() http.Handler NewHandler make a new myapp handler Types ¶ type User ¶ type User struct { ID int `json:"id"` FirstName string `json:"first_name"` LastName string `json:"last_name"` Email string `json:"email"` CreatedAt time.Time `json:"created_at"` } User struct Source Files ¶ View all Source files app.go Click to show internal directories. Click to hide internal directories.