models

package
v0.0.9 Latest Latest
Warning

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

Go to latest
Published: Dec 22, 2022 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FooModel

func FooModel() yamgo.Model

func ItemModel

func ItemModel() yamgo.Model

Types

type FooSchema

type FooSchema struct {
	ID   primitive.ObjectID `json:"id,omitempty" bson:"_id,omitempty"`
	Item interface{}        `json:"item,omitempty" bson:"item,omitempty"`
}

type ItemSchema

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

Jump to

Keyboard shortcuts

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