myqor

package
v0.0.0-...-6858033 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const MainRoute = "/admin/dogs"

MainRoute is the main route of the app.

View Source
const MateResourcePrefix = "Mate table "

MateResourcePrefix is the prefix of all QOR mate table resources.

Variables

This section is empty.

Functions

func Init

func Init(db *gorm.DB, assetFS assetfs.Interface, workDir string) (*admin.Admin, error)

Init initializes the qor admin UI by creating and configuring all resources.

Types

type TemplateDog

type TemplateDog struct {
	Dogs []*mygorm.Dog
	Res  *admin.Resource
}

TemplateDog is a dog suitable for showing in a HTML template.

Jump to

Keyboard shortcuts

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