template

package
v0.0.0-...-f8e3175 Latest Latest
Warning

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

Go to latest
Published: Jun 22, 2022 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const DefaultGoTemplate = "default.go"

DefaultGoTemplate name

View Source
const DefaultPhpTemplate = "default.php"

DefaultPhpTemplate name

View Source
const DefaultTypescriptTemplate = "default.ts"

DefaultTypescriptTemplate name

Variables

This section is empty.

Functions

This section is empty.

Types

type Service

type Service struct {
	// contains filtered or unexported fields
}

Service struct

func GetService

func GetService() *Service

GetService returns instance of service

func (*Service) ExecuteTemplate

func (svc *Service) ExecuteTemplate(name string, data interface{}) string

ExecuteTemplate by name

func (*Service) GoService

func (svc *Service) GoService()

GoService initializes service

Jump to

Keyboard shortcuts

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