taskservice

package
v0.0.0-...-ecc1a57 Latest Latest
Warning

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

Go to latest
Published: Jun 4, 2019 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewTaskService

func NewTaskService(ctx context.Context, applyURI, db, coll string) taskpb.TaskServiceServer

NewTaskService create a new service for task management

Types

type Task

type Task struct {
	ID       primitive.ObjectID `bson:"_id, omitempty"`
	Title    string             `bson:"title"`
	Desc     string             `bson:"desc"`
	Reminder time.Time          `bson:"remainder"`
}

Task todo task

Jump to

Keyboard shortcuts

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