文件名称:go_vector是基于C ++ std :: Vector的容器数据结构。 go_vector带来了功能编程,并删除了样板代码。-Golang开发
文件大小:11KB
文件格式:ZIP
更新时间:2024-06-15 12:28:52
Golang Miscellaneous
GoVector版本1.2.0 go_vector是基于C ++ std :: Vector的容器数据结构。 go_vector带来了功能编程,并删除了样板代码。 代码示例*来自文档/ examples / mai GoVector版本1.2.0的片段go_vector是基于C ++ std :: Vector的容器数据结构。 go_vector带来了功能编程,并删除了样板代码。 代码示例*摘自文档/examples/main.go*中的片段*构造一个空的向量var播放器GoVector.Vector播放器= players.Init()追加一个元素player.PushBack(newPlayer)删除一个元素player.RemoveAt(index)获取元素在索引播放器处At(index)在索引播放器处Set元素.SetAt(index)映射函数pl
【文件预览】:
go_vector-master
----.gitignore(80B)
----documentation()
--------examples()
--------functional_programming_vector.md(1KB)
--------base_vector.md(545B)
----go_vector.go(2KB)
----constructors.go(852B)
----functional_programming.go(4KB)
----LICENSE(1KB)
----getters_setters.go(1KB)
----README.md(2KB)
----vector_FP_test.go(4KB)
----vector_base_test.go(2KB)