package
Version:
v0.0.0-...-396892a
Opens a new window with list of versions in this module.
Published: Feb 23, 2023
License: MIT
Opens a new window with license information.
Imports: 1
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type URL struct {
Short string `bson:"_id"`
Origin string `bson:"origin"`
CreatedAt time.Time `bson:"createdAt"`
Views uint64 `bson:"views"`
}
URL represents a shortened URL.
NewURL creates a new URL.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.