[Golang] Multiple Type In Struct
Hello,
Currently I am implement a struct with 2 type String and Number.
Normally, there will be this error:
err type String json: cannot unmarshal string into Go struct field Request.amount of type float64
or
err type String json: cannot unmarshal n...
opendev.hashnode.dev1 min read