package
Version:
v0.0.0-...-65a69d0
Opens a new window with list of versions in this module.
Published: Dec 9, 2020
License: MIT
Opens a new window with license information.
Imports: 3
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type URL struct {
gorm.Model
SrcId string `form:"src" binding:"required" gorm:"unique;not null"`
DstUrl string `form:"dst" binding:"required" gorm:"not null"`
UserId int `form:"userId" binding:"required" gorm:"not null"`
}
type User struct {
gorm.Model
Email string `form:"email" binding:"required" gorm:"unique;not null"`
EncryptedPassword string `form:"password" binding:"required"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.