codegen

package
v0.0.0-...-ec57482 Latest Latest
Warning

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

Go to latest
Published: Feb 12, 2023 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Generate

func Generate(cfg *config.ConfigFile) error

Types

type BaseModel

type BaseModel struct {
	ID primitive.ObjectID `bson:"_id,omitempty"`
}

func (*BaseModel) GetID

func (m *BaseModel) GetID() interface{}

func (*BaseModel) SetID

func (m *BaseModel) SetID(id interface{})

type TransactionFunc

type TransactionFunc func(ctx mongo.SessionContext) error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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