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.
The teachers provide you with some code templates, a bunch of tests, and a progressive way to implement it all.
The teachers provide you with some code templates, a bunch of tests, and a progressive way to implement it all.
[0]: https://pdos.csail.mit.edu/6.824/index.html