queries_types

package
v1.6.2 Latest Latest
Warning

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

Go to latest
Published: Nov 10, 2023 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Answer

type Answer struct {
	Correct int16  `json:"correct"`
	Text    string `json:"text"`
}

type Question

type Question struct {
	Answers []Answer `json:"answers"`
	Text    string   `json:"text"`
}

type Questions

type Questions = []Question

type QuestionsDB

type QuestionsDB struct {
	Questions Questions
}

func (*QuestionsDB) Scan

func (container *QuestionsDB) Scan(value any) error

func (QuestionsDB) Value

func (container QuestionsDB) Value() (driver.Value, error)

Jump to

Keyboard shortcuts

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