Remove TODO comment
Tweak golang code
Fix lack of LF in the end of an input line