questions

package
v0.0.0-...-3b15a80 Latest Latest
Warning

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

Go to latest
Published: Nov 14, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateQuestionHandle

func CreateQuestionHandle(db *sql.DB) gin.HandlerFunc

func FetchQuestionsHandle

func FetchQuestionsHandle(db *sql.DB) gin.HandlerFunc

Types

type Question

type Question struct {
	ID       int    `json:"id"`
	Question string `json:"question"`
	Answer   string `json:"answer"`
}

Jump to

Keyboard shortcuts

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