package
0.0.0-20240602043136-040e825c5048
Repository: https://github.com/carepollo/librecode.git
Documentation: pkg.go.dev
# Functions
activate user, use when verify.
close connections with database and distributed cache.
register on database a repo with given author, name and visibility.
use for register, it creates a new user in DB using assumed values.
No description provided by the author
check if a user with given email exists.
owner username and repo name to retrieve a unique repo.
get all repos who has been created by given username.
use to retrieve data of user.
use for login, give as param a value that could be username or email of the searched user.
function to use on any logged-in route, to get context of the logged user data.
check if a username exists.
start connections with database and distributed cache.
function to use on login.
update repo data in db, it only replaces.
replace picture, bio, displayname, amountrepositores, and password with given values.