Socket
Book a DemoInstallSign in
Socket

github.com/Clueless7/rss-agg

Package Overview
Dependencies
Alerts
File Explorer
Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

github.com/Clueless7/rss-agg

v0.0.0-20240411125044-f6ba9f1db2b1
Source
Go
Version published
Created
Source

Go RSS Aggregator

Setting up dev environment

  • Create .env file with correct data
  • Setup database using docker (see below)
  • Install goose and sqlc using go install
  • Migrate database using goose
  • Generate types using sqlc

Docker commands

Up

docker compose -f docker-compose.local.yaml up

Down

docker compose -f docker-compose.local.yaml down

Goose commands

Install goose

go install github.com/pressly/goose/v3/cmd/goose@latest

Migrate example:

Up

cd sql/schema
goose postgres postgres://postgres:password@localhost:5432/dbname up

Down

cd sql/schema
goose postgres postgres://postgres:password@localhost:5432/dbname down

Sqlc commands

Install

go install github.com/sqlc-dev/sqlc/cmd/sqlc@latest

Generate

cd [project-root-folder]/
sqlc generate

FAQs

Package last updated on 11 Apr 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.