template

package
v1.5.0 Latest Latest
Warning

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

Go to latest
Published: Mar 28, 2024 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

View Source
const DefaultQuery = `` /* 351-byte string literal not displayed */

DefaultQuery default query

View Source
const Header = NotEditMark + `
package {{.Package}}

import(	
	{{range .ImportPkgPaths}}{{.}}` + "\n" + `{{end}}
)
`
View Source
const NotEditMark = `` /* 211-byte string literal not displayed */
View Source
const QueryMethod = `` /* 298-byte string literal not displayed */

QueryMethod query method template

View Source
const (
	// TableQueryStruct table query struct
	TableQueryStruct = createMethod + `
	type {{.QueryStructName}} struct {
		{{.QueryStructName}}CollectionDo
		` + fields + `
	}
	` + modelMethod + entities + collectionMethod + actionListMethod + queryMethod + documentIteratorMethod
)

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