database

package
v1.3.0 Latest Latest
Warning

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

Go to latest
Published: Apr 11, 2025 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Close

func Close() error

Close closes the database connection

func GetGeminiAPIKey

func GetGeminiAPIKey(userID string) (string, error)

GetGeminiAPIKey retrieves a user's Gemini API key

func Init

func Init() error

Init initializes the database connection

func StoreGeminiAPIKey

func StoreGeminiAPIKey(userID, apiKey string) error

StoreGeminiAPIKey saves or updates a user's Gemini API key

Types

This section is empty.

Jump to

Keyboard shortcuts

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