hashmapsort

package
v0.1.3 Latest Latest
Warning

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

Go to latest
Published: Feb 22, 2021 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type KeySort

type KeySort []interface{}

KeySort represents sort struct for key

func (KeySort) Len

func (k KeySort) Len() int

func (KeySort) Less

func (k KeySort) Less(i, j int) bool

func (KeySort) Swap

func (k KeySort) Swap(i, j int)

type SortElement

type SortElement struct {
	Hashkey string
	Value   interface{}
}

SortElement represents sort element struct

type ValueSort

type ValueSort []SortElement

ValueSort represents sort struct for Value

func (ValueSort) Len

func (k ValueSort) Len() int

func (ValueSort) Less

func (k ValueSort) Less(i, j int) bool

func (ValueSort) Swap

func (k ValueSort) Swap(i, j int)

Jump to

Keyboard shortcuts

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