Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: use db #17

Merged
merged 10 commits into from
Feb 27, 2024
Merged

feat: use db #17

merged 10 commits into from
Feb 27, 2024

Conversation

im-adithya
Copy link
Member

Adds SQLite DB to remember all subscriptions

Copy link
Contributor

@bumi bumi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  • add the .db files to the gitignore

logrus.SetFormatter(&logrus.JSONFormatter{})
// Load env file as env variables
err := godotenv.Load(".env")
ctx := context.Background()
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

is this also how we do it in lndhub?

internal/nostr/models.go Outdated Show resolved Hide resolved
internal/nostr/nostr.go Outdated Show resolved Hide resolved
@im-adithya im-adithya merged commit 3abd463 into task-webhook Feb 27, 2024
1 check passed
@im-adithya im-adithya deleted the task-db branch May 28, 2024 07:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants