golang implementation of e-genotype.