gost

package module
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Nov 14, 2021 License: MIT Imports: 1 Imported by: 3

README

gost

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type IntSet added in v0.1.1

type IntSet map[int]bool

func NewIntSet added in v0.1.1

func NewIntSet() IntSet

func NewIntSetWith added in v0.1.1

func NewIntSetWith(items ...int) IntSet

func (IntSet) Add added in v0.1.1

func (set IntSet) Add(items ...int)

func (IntSet) AddSet added in v0.1.1

func (set IntSet) AddSet(another IntSet)

func (IntSet) All added in v0.1.1

func (set IntSet) All() []int

func (IntSet) Except added in v0.1.1

func (set IntSet) Except(other IntSet) []int

func (IntSet) Has added in v0.1.1

func (set IntSet) Has(item int) bool

func (IntSet) Hide added in v0.1.1

func (set IntSet) Hide(items ...int)

func (IntSet) Len added in v0.1.1

func (set IntSet) Len() int

func (IntSet) Remove added in v0.1.1

func (set IntSet) Remove(items ...int)

type SortStrSet added in v0.1.1

type SortStrSet struct {
	StrSet
}

func NewIntSortedStrSetWith added in v0.1.1

func NewIntSortedStrSetWith(keyValues map[string]int, desc bool) (SortStrSet, []string)

func NewSortStrSet added in v0.1.1

func NewSortStrSet() SortStrSet

func NewSortStrSetWith added in v0.1.1

func NewSortStrSetWith(items ...string) SortStrSet

func NewStrSortedStrSetWith added in v0.1.1

func NewStrSortedStrSetWith(keyValues map[string]string, desc bool) (SortStrSet, []string)

func (SortStrSet) SortByIntVal added in v0.1.1

func (ss SortStrSet) SortByIntVal(keyValues map[string]int, desc bool) []string

func (SortStrSet) SortByStrVal added in v0.1.1

func (ss SortStrSet) SortByStrVal(keyValues map[string]string, desc bool) []string

type SortableKeyGetter added in v0.1.1

type SortableKeyGetter interface {
	sort.Interface
	GetKey(i int) string
}

type StrSet

type StrSet map[string]bool

func NewStrSet added in v0.1.1

func NewStrSet() StrSet

func NewStrSetWith added in v0.1.1

func NewStrSetWith(items ...string) StrSet

func (StrSet) Add

func (set StrSet) Add(items ...string)

func (StrSet) AddSet added in v0.1.1

func (set StrSet) AddSet(another StrSet)

func (StrSet) All

func (set StrSet) All() []string

func (StrSet) Except added in v0.1.1

func (set StrSet) Except(other StrSet) []string

func (StrSet) Has

func (set StrSet) Has(item string) bool

func (StrSet) Hide

func (set StrSet) Hide(items ...string)

func (StrSet) Len added in v0.1.1

func (set StrSet) Len() int

func (StrSet) Remove

func (set StrSet) Remove(items ...string)

Jump to

Keyboard shortcuts

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