Well formated Go graph library

(J Ohn Stuart) #1

Hi all,

I am developing my own algorithm library but my formatting is weak. I do not know how to arrange my code or make it as simple as possible and as readable as possible.

Could you please recommend some graphs and trees implementations that are well written, have good formatting and could serve me as an example of how to format my code ?

(Sebastien Binet) #2

probably super biased (I am a Gonum contributor) but you may want to give this a look:


(J Ohn Stuart) #3

thx Sebastien !