todo

package
v0.0.6 Latest Latest
Warning

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

Go to latest
Published: Jul 2, 2019 License: MIT Imports: 11 Imported by: 0

Documentation

Overview

Package todo is a plugin for bawt that creates to do lists per channel

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Plugin

type Plugin struct {
	// contains filtered or unexported fields
}

func (*Plugin) InitPlugin

func (p *Plugin) InitPlugin(bot *bawt.Bot)

type Store

type Store interface {
	Get(channel string) Todo
	Put(channel string, t Todo)
}

type Task

type Task struct {
	ID          string
	CreatedAt   time.Time
	CreatedBy   string
	Text        []string
	Closed      bool
	ClosingNote string
}

func (*Task) String

func (t *Task) String() string

type Todo

type Todo []*Task

Jump to

Keyboard shortcuts

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