vo

package
v0.0.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 30, 2023 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ID

type ID struct {
	Value primitive.ObjectID `json:"value" bson:"_id,omitempty"`
}

func (*ID) MarshalJSON added in v0.0.4

func (id *ID) MarshalJSON() ([]byte, error)

func (*ID) UnmarshalJSON added in v0.0.4

func (id *ID) UnmarshalJSON(b []byte) error

type Timestamp

type Timestamp struct {
	CreatedAt time.Time `json:"createdAt" bson:"createdAt"`
	UpdatedAt time.Time `json:"updatedAt" bson:"updatedAt"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL