config_list

package
v1.6.1 Latest Latest
Warning

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

Go to latest
Published: Sep 2, 2022 License: AGPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Sort

func Sort(key string, order string, Type string, maps []gin.H) []gin.H

Types

type MapsSort

type MapsSort struct {
	Key     string
	Type    string
	Order   string
	MapList []gin.H
}

func (MapsSort) Len

func (m MapsSort) Len() int

func (MapsSort) Less

func (m MapsSort) Less(i, j int) bool

func (MapsSort) Swap

func (m MapsSort) Swap(i, j int)

Jump to

Keyboard shortcuts

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