queries_types

package
v1.4.3 Latest Latest
Warning

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

Go to latest
Published: Jan 20, 2022 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 interface{}) 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