package mutil import ( "net/http" "go.mongodb.org/mongo-driver/v2/bson" ) func GetAccountRef(r *http.Request) (bson.ObjectID, error) { return bson.ObjectIDFromHex(GetAccountID(r)) }