tables

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Feb 17, 2021 License: Apache-2.0 Imports: 22 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Generators = map[string]table.Generator{
	"posts":    GetPostsTable,
	"authors":  GetAuthorsTable,
	"external": GetExternalTable,
}

Functions

func GetAuthorsTable

func GetAuthorsTable(ctx *context.Context) (authorsTable table.Table)

GetAuthorsTable return the model of table author.

func GetContent

func GetContent(ctx *context.Context) (types.Panel, error)

GetContent return the content of index page.

func GetExternalTable

func GetExternalTable(ctx *context.Context) (externalTable table.Table)

GetExternalTable return the model from external data source.

func GetPostsTable

func GetPostsTable(ctx *context.Context) (postsTable table.Table)

GetPostsTable return the model of table posts.

func GetUserTable

func GetUserTable(ctx *context.Context) (userTable table.Table)

GetUserTable return the model of table user.

Types

This section is empty.

Jump to

Keyboard shortcuts

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