templates

package
v1.3.10 Latest Latest
Warning

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

Go to latest
Published: Apr 26, 2023 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ApiMisc = `` /* 510-byte string literal not displayed */

	ApiModel = `` /* 324-byte string literal not displayed */

	ApiService = `` /* 1097-byte string literal not displayed */

)
View Source
const (
	AppController = `` /* 3124-byte string literal not displayed */

	AppService = `` /* 1181-byte string literal not displayed */

)
View Source
const (
	CmdMain = `` /* 1717-byte string literal not displayed */

	CmdImport = `
	// {{ .import }}
	"{{ .repository }}/internal/app/{{ .plural }}"
`
	CmdService = `
		// {{ .service }}
		{{ .plural }}.NewService(),
`
	CmdController = `
		// {{ .controller }}
		{{ .plural }}.NewController(configs.Grpc),
`
)
View Source
const (
	DeployBuild = `` /* 325-byte string literal not displayed */

	DeployBuildService = `` /* 300-byte string literal not displayed */

	DeployUp = `` /* 283-byte string literal not displayed */

	DeployRunService = `` /* 214-byte string literal not displayed */

)
View Source
const (
	GatewayDockerfile = `
FROM nginx:latest

COPY services/gateway/default.conf /etc/nginx/conf.d/
`
	GatewayConf = `
server {
    listen 80;

    resolver 127.0.0.11 valid=30s;

	# GOPHER: Don't remove this line
	# {{ .command }}
}
`
	GatewayCommand = `` /* 174-byte string literal not displayed */

)
View Source
const (
	GitIgnore = `
# IDE
.idea
.metals
.vscode

# OS files
.DS_Store
Thumbs.db

# Secret data
.env

# Auto generated
/logs
/build
/vendor
`
	GitKeep = ``
	GitCI   = `` /* 856-byte string literal not displayed */

)
View Source
const (
	MigrationUp   = ``
	MigrationDown = ``
)
View Source
const (
	RootMakefile = `
GOPATH=${HOME}/go

%:
	@true
`
	ConfigEnv = `
LOG_LEVEL=TRACE
`
)
View Source
const (
	ServiceDockerfile = `` /* 367-byte string literal not displayed */

	ServiceBuild = `` /* 192-byte string literal not displayed */

)
View Source
const (
	LanguageToml = ``
)

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