package
Version:
v0.0.0-...-df11c48
Opens a new window with list of versions in this module.
Published: Oct 19, 2016
License: MIT
Opens a new window with license information.
Imports: 2
Opens a new window with list of imports.
Imported by: 2
Opens a new window with list of known importers.
Documentation
¶
type FakeStore struct {
URL string
Stored []Stored
SaveErr, ListErr, RemoveErr error
}
FakeStore stores the given data into FakeStore.Stored so user can use It as
a fake DB
Storage is the interface that holds how the server uses the given data.
type Stored struct {
Link, Short, Hash string
}
Stored is the fake DB
Source Files
¶
Directories
¶
Click to show internal directories.
Click to hide internal directories.