[skip ci]Add comments for StringToMsgID (#9518)

Signed-off-by: fishpenguin <kun.yu@zilliz.com>
pull/9509/head
yukun 2021-10-09 00:07:52 +08:00 committed by GitHub
parent 3b7b10c18e
commit 97a6bde82a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -70,6 +70,7 @@ func (rc *rmqClient) EarliestMessageID() MessageID {
return &rmqID{messageID: rID}
}
// StringToMsgID converts string id to MessageID
func (rc *rmqClient) StringToMsgID(id string) (MessageID, error) {
rID, err := strconv.ParseInt(id, 10, 64)
if err != nil {