template

package
v0.0.0-...-1729eaa Latest Latest
Warning

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

Go to latest
Published: Oct 16, 2025 License: AGPL-3.0 Imports: 3 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type TemplateSerialized

type TemplateSerialized struct {
	ID           uuid.UUID `json:"id"           validate:"required" ts_type:"string"`
	Name         string    `json:"name"         validate:"required,min=2,max=256"`
	Owner        string    `json:"owner"        validate:"required,email"`
	Access       string    `json:"access"       validate:"required,min=4,max=16"` // private or public
	CreationTime time.Time `json:"creationTime" validate:"required" ts_type:"Date" ts_transform:"new Date(__VALUE__)"`
}

Template fields to be serialized over the network.

func (*TemplateSerialized) String

func (t *TemplateSerialized) String() (string, error)

Converts a TemplateSerialized structure into a pretty string.

Source Files

  • template.go

Jump to

Keyboard shortcuts

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