euclid: gcd_func type should be in the euclid.go file