mapuniq

package module
v0.0.0-...-b1cb751 Latest Latest
Warning

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

Go to latest
Published: Dec 10, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddLabel

func AddLabel(labelType string, data map[string]interface{}) error

AddLabel 通用函数:将 map 添加到指定的类型标签集合中,确保不重复

func GetHashSet

func GetHashSet(labelType string) (map[uint32][]string, error)

GetHashSet 获取指定 labelType 的哈希集合

func GetLabels

func GetLabels(labelType string) []map[string]interface{}

GetLabels 获取指定类型的去重后的结果

Types

This section is empty.

Jump to

Keyboard shortcuts

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