db

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Mar 9, 2026 License: GPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Open

func Open(dbFile string) (conn *sql.DB, schema string, err error)

Types

type Ingredient

type Ingredient struct {
	ID uint `gorm:"primaryKey"`
	// SessionID uint `gorm:"not null"`
	Name   string `gorm:"not null"`
	Amount string `gorm:"not null"`
}

type Joke

type Joke struct {
	ID uint `gorm:"primaryKey"`
	// SessionID uint `gorm:"not null"`
	Text string `gorm:"not null"`
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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