Documentation ¶
Index ¶
- func DbConnect() *sqlx.DB
- func ExecFromDB(request string) error
- func GenerateUserId(email, password string) (hashId string)
- func GetInformationFromDB(column, where, table string) (info string)
- func GetInformationFromDBI(column, where, table string) (info int)
- func UrlIdGenerator(url string, userId int) (link string)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ExecFromDB ¶
func GenerateUserId ¶
func GetInformationFromDB ¶
Getting information from db
func GetInformationFromDBI ¶
func UrlIdGenerator ¶
Generating a url id and adding it to the db
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.