Package goalgs implements algorithms in Robert Sedgwick and Kevin Wayne's book, Algorithms (fourth edition). Use godoc to see more details.