sortConfig

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Jul 20, 2022 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateInstance

func CreateInstance(index int, name string, order bool) *sortConfig

获取单例

func GetInstance

func GetInstance() *sortConfig

获取单例

func NewSortConfig

func NewSortConfig(index int, name string, order bool) *sortConfig

初始化

Types

type SortConfig

type SortConfig interface {
	// 获取index
	GetIndex() int
	// 获取name
	GetName() string
}

Jump to

Keyboard shortcuts

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