user-service

command module
v0.0.0-...-16a620a Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 30, 2021 License: MIT Imports: 3 Imported by: 0

README

User Service

The User Service is responsible for managing users, authentication, and user permissions.

Database Design

users Table

Column Name Type Description
id unsigned bigint GORM ID Column.
created_at datetime GORM Created At Column.
updated_at datetime GORM Updated At Column.
deleted_at datetime GORM Deleted At Column.
Username string
Password string
Email string
EmailVerifiedAt datetime

roles Table

Column Name Type Description
user_id unsigned bigint
role_id unsigned bigint

user_roles Table

Column Name Type Description
id unsigned bigint GORM ID Column.
created_at datetime GORM Created At Column.
updated_at datetime GORM Updated At Column.
deleted_at datetime GORM Deleted At Column.
Username string
Password string
Email string

password_resets Table

Column Name Type Description
user_id unsigned bigint
token string
created_at datetime
valid_until datetime

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL