github utilities rewritten in go