util

package
v0.0.0-...-11242b9 Latest Latest
Warning

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

Go to latest
Published: Sep 27, 2019 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InitClient

func InitClient() *mongo.Client

Types

type StringSet

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

func NewStringSet

func NewStringSet(initialVals ...string) *StringSet

func (*StringSet) Add

func (set *StringSet) Add(s string)

func (*StringSet) Contains

func (set *StringSet) Contains(s string) bool

func (*StringSet) IsEmpty

func (set *StringSet) IsEmpty() bool

func (*StringSet) Remove

func (set *StringSet) Remove(s string) error

func (*StringSet) Size

func (set *StringSet) Size() int

func (*StringSet) Values

func (set *StringSet) Values() []string

Jump to

Keyboard shortcuts

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