This is a Texas Holdem poker hand evaluation go library.
Can evaluate 5,6 and 7 card combinations.
It uses TwoPlusTwo algorithm with pre-build ranks table.
On my machine (i7-7700HQ 2.80 GHz) it can evaluate 53 millions 7-cards hands per second.
go get github.com/spiritofsim/phe
Eval func returns hand struct. Hands can be evaluated with Hand.Compare method.
See test fo examples.