Documentation ¶
Overview ¶
Description: Database interface for the url shortener
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type DbInterface ¶
type DbType ¶
var Db DbType
Database Instance
func (*DbType) GetUrlFromPath ¶
GetUrlFromPath returns a URL from the Database based on the path segment
func (*DbType) SetDatabase ¶
func (*DbType) SetupSchema ¶
func (d *DbType) SetupSchema()
Click to show internal directories.
Click to hide internal directories.