In case this is of interest, MIT's 6.5840[0], distributed systems, has a series of labs, implementing Raft in Go. Haven't made it through the whole thing yet, but it's quite entertaining so far.<p>The teachers provide you with some code templates, a bunch of tests, and a progressive way to implement it all.<p>[0]: <a href="https://pdos.csail.mit.edu/6.824/index.html" rel="nofollow">https://pdos.csail.mit.edu/6.824/index.html</a>