Documentation
¶
Overview ¶
Package mock is the model handler for testing purposes
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterMock ¶
func RegisterMock(t string)
RegisterMock registers the mock Model as the requested type, for tests.
Types ¶
type Mock ¶
type Mock struct {
// contains filtered or unexported fields
}
Mock is an Anki Basic model
func (*Mock) IframeScript ¶
IframeScript returns JavaScript to run inside the iframe.
Click to show internal directories.
Click to hide internal directories.