cmd

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Apr 16, 2023 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Execute

func Execute()

Types

type Excel

type Excel struct {
	// contains filtered or unexported fields
}

func NewExcel

func NewExcel() *Excel

func (*Excel) AddRow

func (e *Excel) AddRow(values []excelize.Cell) error

func (*Excel) ConvertAny

func (e *Excel) ConvertAny(cells []excelize.Cell) []any

func (*Excel) MustClose

func (e *Excel) MustClose()

func (*Excel) NewStreamWriter

func (e *Excel) NewStreamWriter() (err error)

func (*Excel) SetColAlign

func (e *Excel) SetColAlign() error

func (*Excel) SetColBgColor

func (e *Excel) SetColBgColor() error

func (*Excel) SetColFontColor

func (e *Excel) SetColFontColor() error

func (*Excel) SetColFontSize added in v1.1.0

func (e *Excel) SetColFontSize() error

func (*Excel) SetColWidth

func (e *Excel) SetColWidth() error

func (*Excel) SetHeader

func (e *Excel) SetHeader(header []excelize.Cell)

func (*Excel) SetRowBgColor

func (e *Excel) SetRowBgColor() error

func (*Excel) SetRowFontColor

func (e *Excel) SetRowFontColor() error

func (*Excel) SetRowFontSize added in v1.1.0

func (e *Excel) SetRowFontSize() error

func (*Excel) SetRowHeight

func (e *Excel) SetRowHeight() error

func (*Excel) SetSheetName

func (e *Excel) SetSheetName() error

func (*Excel) SetStyle

func (e *Excel) SetStyle() error

type MySQL

type MySQL struct {
	// contains filtered or unexported fields
}

func NewMySQL added in v1.1.0

func NewMySQL() *MySQL

func (*MySQL) CheckSleep

func (m *MySQL) CheckSleep()

func (*MySQL) Close added in v1.1.0

func (m *MySQL) Close() error

func (*MySQL) ParseRow

func (m *MySQL) ParseRow(row []any) ([]excelize.Cell, error)

func (*MySQL) Ping added in v1.1.0

func (m *MySQL) Ping() error

func (*MySQL) Query

func (m *MySQL) Query() error

Jump to

Keyboard shortcuts

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