Removed unnecessary casting 
Removed unnecessary casting 

Changes should be fairly self explanatory. https://tour.golang.org/methods/16  
Also removed default case, some redundant code
sendgrid/go-solr,sendgrid/go-solr,sendgrid/go-solr