comment

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: 10 Imported by: 0

Documentation

Overview

templ: version: 0.2.476

templ: version: 0.2.476

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Component

func Component(props Props) templ.Component

func Textbox

func Textbox(props TextboxProps) templ.Component

func VotingButtons

func VotingButtons(props VotingButtonsProps) templ.Component

Types

type Props

type Props struct {
	User       session.User
	CommentRow db.CommentRow
}

type TextboxProps

type TextboxProps struct {
	LinkSlug string
	Content  string
	Error    string
}

type VotingButtonsProps

type VotingButtonsProps struct {
	Slug      string
	CommentID uuid.UUID
	UserVote  int16
	Score     int64
}

Jump to

Keyboard shortcuts

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