pages

package
Version: v0.0.0-...-6180adb Latest Latest
Warning

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

Go to latest
Published: Aug 19, 2021 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)

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL