stringset

package
Version: v2.6.0 Latest Latest
Warning

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

Go to latest
Published: Mar 17, 2021 License: LGPL-3.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Set

type Set map[string]bool

Set 用于检查ip,mac,zone,country等是否存在

func (Set) Exist

func (s Set) Exist(key string) bool

判断某个元素key是否存在于Set

func (Set) Put

func (s Set) Put(key string)

往Set里面添加元素

Source Files

Jump to

Keyboard shortcuts

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