Documentation ¶ Index ¶ func NewBoltLinkStore(ctx context.Context, cfg config.BoltStoreConfig) (app.LinkStore, errs.Error) type Link Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func NewBoltLinkStore ¶ func NewBoltLinkStore(ctx context.Context, cfg config.BoltStoreConfig) (app.LinkStore, errs.Error) Types ¶ type Link ¶ type Link struct { Id int `storm:"id,increment"` TargetUrl string `storm:"unique"` CreatedAt time.Time DeletedAt *time.Time ExpiredAt *time.Time Hits int } Source Files ¶ View all Source files link.go linkstore.go Click to show internal directories. Click to hide internal directories.