go-admin: github.com/GoAdminGroup/go-admin/plugins/admin/modules/parameter Index | Files

package parameter

import "github.com/GoAdminGroup/go-admin/plugins/admin/modules/parameter"

Index

Package Files

parameter.go

type Parameters Uses

type Parameters struct {
    Page      string
    PageSize  string
    SortField string
    Columns   []string
    SortType  string
    Fields    map[string]string
}

func GetParam Uses

func GetParam(values url.Values, defaultPageSize int, primaryKey, defaultSort string) Parameters

func GetParamFromUrl Uses

func GetParamFromUrl(value string, fromList bool, defaultPageSize int, primaryKey, defaultSort string) Parameters

func (Parameters) GetFieldOperator Uses

func (param Parameters) GetFieldOperator(field string) types.FilterOperator

func (Parameters) GetFieldValue Uses

func (param Parameters) GetFieldValue(field string) string

func (Parameters) GetFixedParamStr Uses

func (param Parameters) GetFixedParamStr() string

func (Parameters) GetFixedParamStrWithoutPageSize Uses

func (param Parameters) GetFixedParamStrWithoutPageSize() string

func (Parameters) GetLastPageRouteParamStr Uses

func (param Parameters) GetLastPageRouteParamStr() string

func (Parameters) GetNextPageRouteParamStr Uses

func (param Parameters) GetNextPageRouteParamStr() string

func (Parameters) GetRouteParamStr Uses

func (param Parameters) GetRouteParamStr() string

func (Parameters) GetRouteParamStrWithoutPageSize Uses

func (param Parameters) GetRouteParamStrWithoutPageSize() string

func (Parameters) Join Uses

func (param Parameters) Join() string

func (Parameters) SetPage Uses

func (param Parameters) SetPage(page string) Parameters

Package parameter imports 5 packages (graph) and is imported by 8 packages. Updated 2020-01-24. Refresh now. Tools for package owners.