Documentation ¶
Index ¶
- type Templates
- func (t *Templates) Item(w io.Writer, item *items.Item) error
- func (t *Templates) LoginPage(w io.Writer, err error) error
- func (t *Templates) Reader(w io.Writer, item *items.Item) error
- func (t *Templates) SignupPage(w io.Writer, err error) error
- func (t *Templates) Subscription(w io.Writer, subscription *subscriptions.Subscription) error
- func (t *Templates) Tag(w io.Writer, tag *tags.Tag, ss []*subscriptions.Subscription) error
- func (t *Templates) UsersPage(w io.Writer, data *UsersData) error
- type UsersData
- type UsersTag
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Templates ¶
type Templates struct {
// contains filtered or unexported fields
}
func (*Templates) Subscription ¶
func (t *Templates) Subscription(w io.Writer, subscription *subscriptions.Subscription) error
func (*Templates) Tag ¶
func (t *Templates) Tag(w io.Writer, tag *tags.Tag, ss []*subscriptions.Subscription) error
type UsersData ¶
type UsersData struct { Item *items.Item Items []*items.Item Subscriptions []*subscriptions.Subscription Tags []*UsersTag URL *url.URL }
type UsersTag ¶
type UsersTag struct { Tag *tags.Tag Subscriptions []*subscriptions.Subscription }
Click to show internal directories.
Click to hide internal directories.