mocks

package
v0.0.0-...-b5a54de Latest Latest
Warning

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

Go to latest
Published: Apr 9, 2019 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Store

type Store struct {
	mock.Mock
}

Store is an autogenerated mock type for the Store type

func (*Store) Create

func (_m *Store) Create(code string, url string) (*models.Link, error)

Create provides a mock function with given fields: code, url

func (*Store) Delete

func (_m *Store) Delete(code string) int

Delete provides a mock function with given fields: code

func (*Store) IncCount

func (_m *Store) IncCount() int

IncCount provides a mock function with given fields:

func (*Store) List

func (_m *Store) List(limit int, skip int) []models.Link

List provides a mock function with given fields: limit, skip

func (*Store) Read

func (_m *Store) Read(code string) (*models.Link, error)

Read provides a mock function with given fields: code

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
JackTT - Gopher 🇻🇳