tools

package
v0.0.0-...-905f740 Latest Latest
Warning

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

Go to latest
Published: Jan 1, 2022 License: Unlicense Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetBuf

func GetBuf() *bytes.Buffer

GetBuf is just a helper method to make life easier

func GroupLists

func GroupLists(g *users.Group) int

func GroupMembers

func GroupMembers(g *users.Group) int

func GroupNum

func GroupNum(f *users.Family) int

func HandleSigInt

func HandleSigInt(fn func())

func MemberNum

func MemberNum(f *users.Family) int

func PutBuf

func PutBuf(b *bytes.Buffer)

PutBuf is just a helper to make life easier

func Sanatize

func Sanatize(p string) string

func SendEmail

func SendEmail(s string) error

I don't actually know how to do this

func SendGroupInvite

func SendGroupInvite(s string) error

Types

type DataPage

type DataPage struct {
	Data string
}

type EmptyPage

type EmptyPage struct{}

type FamiliesPage

type FamiliesPage struct {
	Families []*users.Family
}

type FamilyPage

type FamilyPage struct {
	Family *users.Family //I think this will be useful for quickly looking at a certain group
	Lists  []*list.List
}

type GroupPage

type GroupPage struct {
	Group *users.Group
}

type GroupsPage

type GroupsPage struct {
	Groups []*users.Group
}

type ListPage

type ListPage struct {
	List *list.List
}

type ListsPage

type ListsPage struct {
	User  *users.Member
	Lists []*list.List
}

type MessagePage

type MessagePage struct {
	User *users.Member
}

type Page

type Page interface {
}

Jump to

Keyboard shortcuts

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