folding and golang