addcolumns

package
v0.2.6 Latest Latest
Warning

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

Go to latest
Published: Feb 1, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DirectJson

func DirectJson(data ...string) (string, error)

Types

type AddColumns

type AddColumns struct {
	Raw string
}

string转html

func (*AddColumns) Check

func (a *AddColumns) Check(data map[string]string) error

检查并赋值参数

func (*AddColumns) Transfer

func (a *AddColumns) Transfer() interface{}

type Columns

type Columns struct {
	Field    string //state
	Title    string
	Checkbox bool
	Rowspan  int
	Colspan  int
	Align    string
	Valign   string
	Sortable bool

	Formatter string
	// contains filtered or unexported fields
}

func MutilColumms

func MutilColumms(data ...string) []Columns

func NewColumns

func NewColumns(filed string, checkbox bool) *Columns

Jump to

Keyboard shortcuts

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