increment.go 223 B

12345678910
  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. }