add struct IDAndName

This commit is contained in:
namhq1989 2022-12-21 11:38:29 +07:00
parent bd33c3494e
commit 2d8a669a40
1 changed files with 9 additions and 0 deletions

View File

@ -2,6 +2,15 @@ package natsio
import "go.mongodb.org/mongo-driver/bson/primitive" import "go.mongodb.org/mongo-driver/bson/primitive"
//
// Common
//
type IDAndName struct {
ID string `json:"_id"`
Name string `json:"name"`
}
// //
// USER // USER
// //