package
Version:
v0.0.0-...-25c43ee
Opens a new window with list of versions in this module.
Published: Aug 18, 2023
License: MIT
Opens a new window with license information.
Imports: 1
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type URLCreateDto struct {
Original string `json:"original"`
Expire *int64 `json:"expire"`
}
type URLResponseDto struct {
ID string `json:"id"`
Original string `json:"original"`
Expire int64 `json:"expire"`
UserID *uuid.UUID `json:"user_id"`
}
type UserCreateDto struct {
Username string `json:"username"`
Email string `json:"email"`
Password string `json:"password"`
}
type UserLoginDto struct {
Username *string `json:"username,omitempty"`
Email *string `json:"email,omitempty"`
Password string `json:"password"`
}
type UserResponseDto struct {
ID uuid.UUID `json:"ID"`
Username string `json:"username"`
Email string `json:"email"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.