export

package
v0.3.13 Latest Latest
Warning

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

Go to latest
Published: Jun 6, 2022 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Helpers = func() map[string][]string {
	ret := map[string][]string{}
	add := func(k string, v string) {
		ret[k] = []string{v}
	}

	add("model.name", "The name, usually corresponding to the name of your database table")
	add("model.package", "package")
	add("model.description", "description")
	add("model.icon", "icon")
	add("model.ordering", "ordering")
	add("model.search", "search")
	add("model.history", "history")
	add("model.tags", "tags")
	add("model.titleOverride", "titleOverride")
	add("model.properOverride", "properOverride")
	add("model.config", "config")
	add("model.columns", "columns")
	add("model.relations", "relations")
	add("model.indexes", "indexes")

	return ret
}()

Functions

This section is empty.

Types

type Service

type Service struct{}

func NewService

func NewService() *Service

func (*Service) Files

func (s *Service) Files(ctx context.Context, args *model.Args, addHeader bool, logger util.Logger) (f file.Files, e error)

func (*Service) Inject

func (s *Service) Inject(ctx context.Context, args *model.Args, fs file.Files, logger util.Logger) (e error)

Directories

Path Synopsis
sql
svc

Jump to

Keyboard shortcuts

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