find nth term of geometric sequence given two terms

cannot unmarshal object into go struct field of type string