mock

package module
v0.0.0-...-b3f5c54 Latest Latest
Warning

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

Go to latest
Published: Jan 8, 2018 License: Apache-2.0 Imports: 3 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

README

mock

Documentation

Overview

Code generated by mockery v1.0.0

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type UnitUnit

type UnitUnit struct {
	mock.Mock
}

UnitUnit is an autogenerated mock type for the Unit type

func (*UnitUnit) Created

func (m *UnitUnit) Created() time.Time

Created provides a mock function with given fields:

func (*UnitUnit) ID

func (m *UnitUnit) ID() string

ID provides a mock function with given fields:

func (*UnitUnit) MarshalJSON

func (m *UnitUnit) MarshalJSON() ([]byte, error)

MarshalJSON provides a mock function with given fields:

func (*UnitUnit) SetTitle

func (m *UnitUnit) SetTitle(title string)

SetTitle provides a mock function with given fields: title

func (*UnitUnit) Title

func (m *UnitUnit) Title() string

Title provides a mock function with given fields:

func (*UnitUnit) Type

func (m *UnitUnit) Type() unit.Type

Type provides a mock function with given fields:

func (*UnitUnit) UnmarshalJSON

func (m *UnitUnit) UnmarshalJSON(_a0 []byte) error

UnmarshalJSON provides a mock function with given fields: _a0

func (*UnitUnit) Updated

func (m *UnitUnit) Updated() time.Time

Updated provides a mock function with given fields:

Jump to

Keyboard shortcuts

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