A go implementation of the gensend