template

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Sep 9, 2022 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

View Source
const CONSTRUCTOR_INTERNAL_MOCK = `` /* 131-byte string literal not displayed */
View Source
const CONSTRUCTOR_MOCK_FUNCTION = `` /* 201-byte string literal not displayed */
View Source
const FILE_HEADER = `// ############################
// Generated by Mooncake
// Date: %s
// Source: %s
// ############################
`
View Source
const INTERNAL_METHOD = `` /* 184-byte string literal not displayed */
View Source
const METHOD = `
func(m *Mock%s%k) %m(%p) (%r) {
	method := "%m"

	result := m.agent.GetCall(method)

	%a

	return
}
`
View Source
const MOCK_STRUCTURE = `
type Mock%s%i struct {
	agent              *mooncake.MooncakeAgent
	internalController *InternalMock%s%k
}`

Variables

This section is empty.

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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