Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateShortCat ¶
func DeleteShortCatById ¶
func UpdateShortCat ¶
Types ¶
type Shortcat ¶
type Shortcat struct { ID uint64 `json:"id" gorm:"primaryKey"` Url string `json:"url" gorm:"not null"` ShortUrl string `json:"short_url" gorm:"not null;unique"` Clicks uint64 `json:"clicks"` CreatedAt time.Time `json:"created_at" gorm:"autoCreateTime"` }
func GetAllShortCats ¶
func GetShortCatById ¶
func GetShortCatByShortUrl ¶
Click to show internal directories.
Click to hide internal directories.