Commit 2b42e3b8 authored by Aksel Baardsen's avatar Aksel Baardsen
Browse files

unnecessary strconv

parent 2cac473f
package pkg
import "strconv"
const speciesApi = "http://api.gbif.org/v1/species/"
// struct for getting correct json keys
......@@ -55,7 +53,7 @@ func GetSpecies(key string) (SpecieReturn, error) {
// specie that has correct json format
returnVal := SpecieReturn{
Key: strconv.Itoa(specie.Key),
Key: key,
Kingdom: specie.Kingdom,
Phylum: specie.Phylum,
Order: specie.Order,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment