increment.go 285 B

1234567891011
  1. package model
  2. import (
  3. "go.mongodb.org/mongo-driver/bson/primitive"
  4. )
  5. type Increment struct {
  6. Id primitive.ObjectID `bson:"_id,omitempty" json:"_id"`
  7. Index int32 `bson:"index,omitempty" json:"index"`
  8. Type string `bson:"type,omitempty" json:"type"`
  9. }