commentfeed

package
v0.0.0-...-bd2df9c Latest Latest
Warning

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

Go to latest
Published: Jan 2, 2024 License: MIT Imports: 8 Imported by: 0

Documentation

Overview

templ: version: 0.2.476

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Feed

func Feed(props FeedProps) templ.Component
func Nav(props NavProps) templ.Component

Types

type FeedProps

type FeedProps struct {
	User        session.User
	FeedType    FeedType
	CommentRows []db.CommentRow
	IsReply     bool
}

type FeedType

type FeedType string
const (
	Popular       FeedType = "popular"
	Latest        FeedType = "latest"
	Controversial FeedType = "controversial"
)
type NavProps struct {
	LinkSlug string
	Feed     FeedType
}

Jump to

Keyboard shortcuts

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