()
| 48 | } |
| 49 | |
| 50 | func (r *EmailCodeContent) ToJSONString() string { |
| 51 | codeBytes, _ := json.Marshal(r) |
| 52 | return string(codeBytes) |
| 53 | } |
| 54 | |
| 55 | func (r *EmailCodeContent) FromJSONString(data string) error { |
| 56 | return json.Unmarshal([]byte(data), &r) |
no outgoing calls
no test coverage detected