templates

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Dec 16, 2023 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ExpecterChain = `` /* 271-byte string literal not displayed */

	Chain = `` /* 1006-byte string literal not displayed */

)
View Source
const (
	InitParams = `
func initParams() {{ParamsPath}} {
	return {{ParamsPath}}{}
}
`

	BuildMocks = `` /* 182-byte string literal not displayed */

	GetMockField = `` /* 195-byte string literal not displayed */

)
View Source
const Interface = `
type %s interface {
%s
}
`
View Source
const Method = "\t%s(%s) (%s)"
View Source
const New = `
func New(p Params) %s {
	return p.Convert()
}
`

Variables

This section is empty.

Functions

func BulkReplace

func BulkReplace(content string, pairs map[string]string) string

Types

This section is empty.

Jump to

Keyboard shortcuts

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