internal

package
v0.0.0-...-ffaea59 Latest Latest
Warning

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

Go to latest
Published: Feb 16, 2025 License: GPL-3.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MustEnv

func MustEnv(key string) string

func NewDatabase

func NewDatabase(path string) (*sqlx.DB, error)

func NewLogger

func NewLogger() *slog.Logger

Types

type CatData

type CatData struct {
	ID       int    `db:"id"`
	CatID    string `db:"cat_id"`
	FileType string `db:"file_type"`
	Data     []byte `db:"data"`
}

Jump to

Keyboard shortcuts

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