tabler

package
v0.0.0-...-221f2c5 Latest Latest
Warning

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

Go to latest
Published: Dec 31, 2021 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Columns

func Columns(in interface{}) []string

func EmptyDBFuc

func EmptyDBFuc(db *gorm.DB) *gorm.DB

func NewTable

func NewTable(db *gorm.DB, cursorKey string, pager Pager) *table

Types

type Pager

type Pager struct {
	PageSize int32
	PageNum  int32
	Cursor   int64
}

type Tabler

type Tabler interface {
	Columns() []string
}

Jump to

Keyboard shortcuts

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