shortlink

package
v0.0.0-...-91c0e42 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 5, 2021 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ShortLink struct {
	ID        int       `json:"id"`
	RootLink  string    `json:"root_link"`
	ShortLink string    `json:"short_link"`
	Created   time.Time `json:"created"`
	Accesses  int       `json:"accesses"`
	Edited    time.Time `json:"edited"`
}

A ShortLink contains the ID, root link, short string, created date, access count and edited date of a short link.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL