pages

package
v0.0.0-...-1bee8d1 Latest Latest
Warning

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

Go to latest
Published: May 21, 2023 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Page

type Page struct {
	gorm.Model
	Title   string
	Content string `gorm:"type:text"`
}

type Pages

type Pages struct {
	DB *gorm.DB
	// contains filtered or unexported fields
}

func New

func New(id int) *Pages

func (*Pages) Configure

func (l *Pages) Configure(app gongo.App) error

func (Pages) Resources

func (l Pages) Resources() []interface{}

func (*Pages) ServeHTTP

func (l *Pages) ServeHTTP(w http.ResponseWriter, r *http.Request)

Jump to

Keyboard shortcuts

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