models

package
v0.0.0-...-8ba8cd6 Latest Latest
Warning

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

Go to latest
Published: May 30, 2020 License: Apache-2.0 Imports: 2 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ToDoList

type ToDoList struct {
	ID     string `json:"id,omitempty"`
	Task   string `json:"task"`
	Status bool   `json:"status,omitempty"`
}

func (ToDoList) String

func (t ToDoList) String()

type ToDoListDB

type ToDoListDB struct {
	ID     primitive.ObjectID `json:"_id,omitempty" bson:"_id,omitempty"`
	Task   string             `form:"task" json:"task" binding:"required"`
	Status bool               `json:"status,omitempty"`
}

Jump to

Keyboard shortcuts

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