Use:
typedef MyData struct {
Data string `json:"data"`
FieldName *int64 `json:"-"`
}
Adding the `json:"-"` will make the Unmarshal command disregard this field
Points regarding computing that I always forget - so I write them here to find them easily and maybe other could benefit too.
I am using mysql for quite some time now. I have noticed that looking at client connections using mysql workbench so an interesting column ...
No comments:
Post a Comment