export

package
v0.3.12 Latest Latest
Warning

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

Go to latest
Published: Jun 5, 2022 License: MIT Imports: 8 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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