package
0.0.0-20210411234827-e3d78ff71e38
Repository: https://github.com/muratmirgun/api.git
Documentation: pkg.go.dev

# Functions

GetUserHTTP returns ne UserHTTP struct instance.
NewListUsersRequest construct new ListUsersRequest.
NewRepository creates a new user repository.
NewService return new userService instance.
NewUserHTTP returns ne UserHTTP struct instance.
RegisterHandlers registers handlers for specified path.
RegisterHTTPHandlers registers http handlers for users endpoint.

# Variables

GetUserByUsernameSQL is SQL Clause to get user data by username.
ListUsersSQL is SQL Clause to select public users data.

# Structs

ListUsersRequest for representing request parameters on list users endpoint.

# Interfaces

HTTP defines user http handlers interface.
Repository define user repository methods interface.
Service represents user application interface.