models

package
v0.0.0-...-4f25c27 Latest Latest
Warning

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

Go to latest
Published: Jul 22, 2024 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Difficulty

type Difficulty struct {
	ID    int64  `db:"id"`
	Title string `db:"title"`
}

type Language

type Language struct {
	ID    int64  `db:"id"`
	Title string `db:"title"`
}

type LibraryItem

type LibraryItem struct {
	ID              int64         `db:"id"`
	Title           string        `db:"title"`
	ShortDesc       string        `db:"short_desc"`
	FullDescription string        `db:"description"`
	URL             string        `db:"url"`
	Type            int64         `db:"type"`
	Difficulty      int64         `db:"difficulty"`
	Language        pq.Int64Array `db:"language"`
}

type Type

type Type struct {
	ID    int64  `db:"id"`
	Title string `db:"title"`
}

Jump to

Keyboard shortcuts

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