(form *multipart.Form)
| 211 | } |
| 212 | |
| 213 | func (m *MsgParam) parsePriorityFromForm(form *multipart.Form) { |
| 214 | if m.Priority <= 0 { |
| 215 | ps := form.Value["priority"] |
| 216 | if len(ps) > 0 { |
| 217 | m.Priority = parsePriority(ps[0]) |
| 218 | } |
| 219 | } |
| 220 | } |
| 221 | |
| 222 | func parseTimeContentItems(items map[string]interface{}) []*model.MsgTimeItem { |
| 223 | lst := []*model.MsgTimeItem{} |
no test coverage detected