golang implemented for zhifang