Hi Amarjeet

If you take the trouble of using error codes you should use actual integers 
and not strings. The playground program shows how I would do´ it.

See here https://play.golang.org/p/YNbMpXLOUfM

>

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/golang-nuts/fe989b6b-8062-45aa-bfa6-40a4d3c560b9%40googlegroups.com.

Reply via email to