Pinterest-style visual bookmarking app with: - URL metadata extraction (OG/Twitter meta, oEmbed fallback) - Image caching in Postgres with 480px thumbnails - Multi-tag filtering with Ctrl/Cmd for OR mode - Fuzzy tag suggestions and inline tag editing - Browser console auth() with first-use password setup - Brutalist UI with Commit Mono font and Pico CSS - Light/dark mode via browser preference
14 lines
615 B
Go
14 lines
615 B
Go
// Package database defines a generic [Store] interface for goose to use when interacting with the
|
|
// database. It is meant to be generic and not tied to any specific database technology.
|
|
//
|
|
// At a high level, a [Store] is responsible for:
|
|
// - Creating a version table
|
|
// - Inserting and deleting a version
|
|
// - Getting a specific version
|
|
// - Listing all applied versions
|
|
//
|
|
// Use the [NewStore] function to create a [Store] for one of the supported dialects.
|
|
//
|
|
// For more advanced use cases, it's possible to implement a custom [Store] for a database that
|
|
// goose does not support.
|
|
package database
|