Skip to content
Snippets Groups Projects
Commit 2b42e3b8 authored by Aksel Baardsen's avatar Aksel Baardsen
Browse files

unnecessary strconv

parent 2cac473f
Branches
No related tags found
No related merge requests found
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,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment