service backend
This commit is contained in:
11
api/pkg/db/storable/ref.go
Normal file
11
api/pkg/db/storable/ref.go
Normal file
@@ -0,0 +1,11 @@
|
||||
package storable
|
||||
|
||||
import "go.mongodb.org/mongo-driver/bson/primitive"
|
||||
|
||||
const (
|
||||
RefField = "ref"
|
||||
)
|
||||
|
||||
type Ref struct {
|
||||
Ref primitive.ObjectID `bson:"ref" json:"ref"`
|
||||
}
|
||||
Reference in New Issue
Block a user