profile
viewpoint

Ask questionsencoding/json: invalid use of ,string struct tag, trying to unmarshal "" into int

https://play.golang.org/p/TabRbDnegfc https://github.com/golang/go/issues/7046

What version of Go are you using (go version)?

go version go1.10 windows/amd64

golang/go

Answer questions imbaMF

so?! Update i coming?! Working with not my api and cant improve it... plix add! or change json:"field,string,omitempty" to json:"field,omitempty,string" if field is empty just leave (,string tag didnt launched)...

useful!
source:https://uonfu.com/
Github User Rank List