Too dificult golang generator