fixed doc env vars + mongo v2 migration
This commit is contained in:
@@ -4,14 +4,14 @@ import (
|
||||
"net/http"
|
||||
|
||||
mutilimp "github.com/tech/sendico/server/internal/mutil/param/internal"
|
||||
"go.mongodb.org/mongo-driver/bson/primitive"
|
||||
"go.mongodb.org/mongo-driver/v2/bson"
|
||||
)
|
||||
|
||||
type ParamHelper interface {
|
||||
Name() string
|
||||
RefName() string
|
||||
GetID(r *http.Request) string
|
||||
GetRef(r *http.Request) (primitive.ObjectID, error)
|
||||
GetRef(r *http.Request) (bson.ObjectID, error)
|
||||
AddRef(base string) string
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user