QID get question id
(questionID, userID string)
| 54 | |
| 55 | // QID get question id |
| 56 | func (e *EventMsg) QID(questionID, userID string) *EventMsg { |
| 57 | if len(questionID) > 0 { |
| 58 | e.QuestionID = uid.DeShortID(questionID) |
| 59 | } |
| 60 | e.QuestionUserID = userID |
| 61 | return e |
| 62 | } |
| 63 | |
| 64 | // AID get answer id |
| 65 | func (e *EventMsg) AID(answerID, userID string) *EventMsg { |
no test coverage detected