Skip to content
/ gostl Public

gostl has implemented similar C++/STL containers, while natural golang package doesn't provide directly

Notifications You must be signed in to change notification settings

wy3148/gostl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 

Repository files navigation

The motivation of writing gostl

gostl has implemented similar C++/STL containers, while official golang package doesn't provide them directly.
It is known that go slice and map are very powerful data containers, and indeed they are very helpful.

However, In some user cases, we may still need STL-like containers, such as queue, priority_queue, stack and etc.

And I've been always learning and improving golang coding skills, this is one of the motoviations to write gostl as well. So far, most of packages are still under writing and testing, any suggestions will be much appreciated!

Go doc

https://gowalker.org/github.com/wy3148/gostl

#About set Golang map and sync.Map are very powerful, so far it seems we don't need a new 'set'. Also most of 'set' internally is implemented with 'map'.

About

gostl has implemented similar C++/STL containers, while natural golang package doesn't provide directly

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages