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.