base

package
v0.0.0-...-b11ff8e Latest Latest
Warning

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

Go to latest
Published: Feb 29, 2024 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 Document

type Document struct {
	ID  string `json:"id" bson:"_id,omitempty"`
	Raw string
}

func (*Document) BsonPrepare

func (d *Document) BsonPrepare(data any) (Document, error)

BsonPrepare prepare the doc object with bson

func (*Document) Decode

func (d *Document) Decode(result any) error

func (*Document) Init

func (d *Document) Init() *Document

Init create the scaffold context

type DummyMessage

type DummyMessage struct {
	Text string
}

Jump to

Keyboard shortcuts

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