diff --git a/model.go b/model.go index 0f33f37..158308d 100644 --- a/model.go +++ b/model.go @@ -2,6 +2,15 @@ package natsio import "go.mongodb.org/mongo-driver/bson/primitive" +// +// Common +// + +type IDAndName struct { + ID string `json:"_id"` + Name string `json:"name"` +} + // // USER //