ShortLink represents the schema for the short_links table
| 90 | |
| 91 | // ShortLink represents the schema for the short_links table |
| 92 | type ShortLink struct { |
| 93 | ShortCode string `gorm:"type:string;primaryKey;not null"` |
| 94 | OriginalURL string `gorm:"type:string;not null"` |
| 95 | } |
| 96 | |
| 97 | var ( |
| 98 | db *gorm.DB |
nothing calls this directly
no outgoing calls
no test coverage detected