set:使用LinkedHashMap在Go(Golang)中简单的Set数据结构实现

时间:2021-02-05 10:20:20
【文件属性】:
文件名称:set:使用LinkedHashMap在Go(Golang)中简单的Set数据结构实现
文件大小:12KB
文件格式:ZIP
更新时间:2021-02-05 10:20:20
go golang set data-structures hacktoberfest 组 Set是使用LinkedHashMap在Go(Golang)中简单的Set数据结构实现。 该库允许您获取一组int64或string而没有重复的项目。 用法 package main import ( "fmt" "github.com/StudioSol/set" ) func main () { duplicatedInt64 := [] int64 { 1 , 1 , 2 , 2 , 3 , 3 } unduplicatedInt64 := set . NewLinkedHashSetINT64 ( duplicatedInt64 ... ) // Get a []in
【文件预览】:
set-master
----linkedhashsetint_test.go(4KB)
----.gitignore(7B)
----go.mod(91B)
----linkedhashsetstring.go(2KB)
----linkedhashmap_test.go(2KB)
----Makefile(289B)
----.travis.yml(177B)
----linkedhashsetint64.go(2KB)
----LICENCE(2KB)
----linkedhashsetint64_test.go(4KB)
----go.sum(1KB)
----linkedhashsetstring_test.go(4KB)
----.github()
--------workflows()
----README.md(2KB)
----linkedhashmap.go(3KB)
----linkedhashsetint.go(2KB)
----CONTRIBUTORS.md(272B)

网友评论