models

package
v0.0.0-...-7e478f4 Latest Latest
Warning

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

Go to latest
Published: Aug 22, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var TodoCollection artifact.MongoCollection

Functions

func TodoSetup

func TodoSetup()

Types

type Todo

type Todo struct {
	Id        primitive.ObjectID `json:"id,omitempty" bson:"_id"`
	Todo      string             `json:"todo" bson:"todo"`
	Status    string             `json:"status" bson:"status"`
	CreatedAt time.Time          `json:"created_at,omitempty" bson:"created_at"`
	UpdatedAt time.Time          `json:"updated_at,omitempty" bson:"updated_at"`
}

Jump to

Keyboard shortcuts

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