Documentation ¶
Index ¶
- func CreateLink(l model.Link) error
- func CreateUser(user model.User) error
- func DeleteLink(userId uint, id uint64) error
- func FindUserByEmail(email string) (model.User, error)
- func GetAllLinks(userId uint) ([]model.Link, error)
- func GetLink(id uint64, userId uint) (model.Link, error)
- func GetUserInfo(id uint) (model.User, error)
- func IsUserExists(email string) (bool, error)
- func OpenShortenedId(id string) (model.Link, error)
- func UpdateLink(userId uint, updatedLink model.Link, id uint64) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateLink ¶
func CreateUser ¶
func DeleteLink ¶
func IsUserExists ¶
func OpenShortenedId ¶
PUBLIC --------------------
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.