fix
This commit is contained in:
parent
6dc437b245
commit
008506a181
|
@ -29,8 +29,8 @@ func ConvertStringsToObjectIDs(strValues []string) []primitive.ObjectID {
|
||||||
|
|
||||||
// ConvertStringToObjectID ...
|
// ConvertStringToObjectID ...
|
||||||
func ConvertStringToObjectID(id string) primitive.ObjectID {
|
func ConvertStringToObjectID(id string) primitive.ObjectID {
|
||||||
ID, _ := primitive.ObjectIDFromHex(id)
|
objID, _ := primitive.ObjectIDFromHex(id)
|
||||||
return ID
|
return objID
|
||||||
}
|
}
|
||||||
|
|
||||||
// SortObjectId ...
|
// SortObjectId ...
|
||||||
|
|
Loading…
Reference in New Issue