EncodeTaskID encode task id to hash id
(encoder Encoder, uid int)
| 107 | |
| 108 | // EncodeTaskID encode task id to hash id |
| 109 | func EncodeTaskID(encoder Encoder, uid int) string { |
| 110 | res, _ := encoder.Encode([]int{uid, TaskID}) |
| 111 | return res |
| 112 | } |
| 113 | |
| 114 | // EncodeEntityID encode entity id to hash id |
| 115 | func EncodeEntityID(encoder Encoder, id int) string { |
no test coverage detected