question

package
v0.0.0-...-f30c324 Latest Latest
Warning

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

Go to latest
Published: Mar 17, 2024 License: GPL-3.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DeleteQuestion

func DeleteQuestion(c *fiber.Ctx) error

func DeleteVote

func DeleteVote(c *fiber.Ctx) error

func DownVote

func DownVote(c *fiber.Ctx) error

func NewPost

func NewPost(c *fiber.Ctx) error

func Setup

func Setup(app fiber.Router)

func UpVote

func UpVote(c *fiber.Ctx) error

func Vote

func Vote(c *fiber.Ctx, vote int) error

Types

type RequestBody

type RequestBody struct {
	Title        string   `json:"title"`
	Content      string   `json:"content"`
	Tags_name    []string `json:"tags_name"`
	Tags_version []string `json:"tags_version"`
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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