Documentation ¶ Index ¶ type URL Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type URL ¶ type URL struct { ShortURL string `json:"short_url"` // The shortened version of the URL OriginalURL string `json:"original_url"` // The original full-length URL } URL represents a mapping between a shortened URL and its original URL. Source Files ¶ View all Source files url.go Click to show internal directories. Click to hide internal directories.