util

package
v0.0.0-...-61f1dbb Latest Latest
Warning

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

Go to latest
Published: Oct 2, 2019 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var AppKey = "61be8d74f176d471b67764842058d542"

Functions

func CurrentUserCard

func CurrentUserCard(list *trello.List) (*trello.Card, error)

func CurrentWeekList

func CurrentWeekList(now time.Time, board *trello.Board) (*trello.List, error)

func D3Board

func D3Board() (*trello.Board, error)

func Openbrowser

func Openbrowser(url string)

func State

func State(s string) string

Types

type CheckItems

type CheckItems struct {
	ID    string `json:"id"`
	Name  string `json:"name"`
	State string `json:"state"`
}

type CheckList

type CheckList struct {
	ID         string       `json:"id"`
	Name       string       `json:"name"`
	IDBoard    string       `json:"idBoard"`
	IDCard     string       `json:"idCard"`
	CheckItems []CheckItems `json:"checkItems"`
}

func CurrentDayCheckList

func CurrentDayCheckList(now time.Time, card *trello.Card) (CheckList, error)

func WeekCheckList

func WeekCheckList(now time.Time, card *trello.Card) ([]CheckList, error)

Jump to

Keyboard shortcuts

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