inner

package
v0.0.4 Latest Latest
Warning

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

Go to latest
Published: Aug 4, 2023 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BatchCreateResult

type BatchCreateResult struct {
	IDs []primitive.ObjectID `bson:"data"`
}

type CountResult

type CountResult struct {
	Data struct {
		Count int64 `bson:"count"`
	} `bson:"data"`
}

type RawResult

type RawResult struct {
	Data interface{} `json:"data" bson:"data"`
	E    error       `json:"-" bson:"-"`
}

func (*RawResult) Bind

func (r *RawResult) Bind(v interface{})

func (*RawResult) Err

func (r *RawResult) Err() error

func (*RawResult) UnmarshalBSON

func (r *RawResult) UnmarshalBSON(b []byte) error

type Result

type Result interface {
	Bind(interface{})
	Err() error
}

Jump to

Keyboard shortcuts

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