jobs

package
v0.0.0-...-52ba2b6 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const JobKind = "Job"

Variables

This section is empty.

Functions

func AddRouter

func AddRouter(r *gin.RouterGroup)

Types

type Job

type Job struct {
	db.DatastoreModel
	Title       string `datastore:"title" json:"title"`
	Description string `datastore:"description" json:"description"`
}

func (*Job) CreateTemplate

func (u *Job) CreateTemplate() *template.Template

Template config

func (*Job) GetMultiTemplate

func (u *Job) GetMultiTemplate() *template.Template

func (*Job) GetOneTemplate

func (u *Job) GetOneTemplate() *template.Template

func (*Job) New

func (j *Job) New(key *datastore.Key) db.Patchable

func (*Job) Patch

func (u *Job) Patch(i interface{})

func (*Job) UpdateTemplate

func (u *Job) UpdateTemplate() *template.Template

Jump to

Keyboard shortcuts

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