package
0.0.0-20221203010030-d69ca4fc920b
Repository: https://github.com/yhagio/go_api_boilerplate.git
Documentation: pkg.go.dev

# README

Controllers

This directory's purpose:

  • Define controllers (web request handler logic)

# Functions

HTTPRes normalize HTTP Response format.
NewUserController instantiates User Controller.

# Structs

Response object as HTTP response.
UserInput represents login/register request body format.
UserOutput represents returning user.
UserUpdateInput represents updating profile request body format.

# Interfaces

UserController interface.