gounfmt: fleshed out code and switched to parser