core

package
v1.6.2 Latest Latest
Warning

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

Go to latest
Published: May 10, 2023 License: BSD-1-Clause Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AbsoluteURLModel

type AbsoluteURLModel interface {
	// Get the absolute URL of the model.
	AbsoluteURL() string
}

Get the absolute URL of the model.

type AppNamer

type AppNamer interface {
	AppName() string
}

Namer to retrieve the app name, from any given model.

-> modelutils.namer.GetAppName

type DisplayableField

type DisplayableField interface {
	// Display a model field in the admin.
	Display() string
}

Display a model field in the admin app list.

type ListDisplayer added in v1.0.6

type ListDisplayer interface {
	ListDisplay() string
}

How a model should be displayed in the admin list.

type Namer

type Namer interface {
	NameOf() string
}

Namer to retrieve the model name, from any given model.

This is used in the admin site for example.

This is not the name to display for a given instance of the model!

-> modelutils.namer.GetModelName

Directories

Path Synopsis
app

Jump to

Keyboard shortcuts

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