EncodeFileID encode file id to hash id
(encoder Encoder, uid int)
| 95 | |
| 96 | // EncodeFileID encode file id to hash id |
| 97 | func EncodeFileID(encoder Encoder, uid int) string { |
| 98 | res, _ := encoder.Encode([]int{uid, FileID}) |
| 99 | return res |
| 100 | } |
| 101 | |
| 102 | // EncodeAuditLogID encode audit log id to hash id |
| 103 | func EncodeAuditLogID(encoder Encoder, uid int) string { |
no test coverage detected