Categorygithub.com/newmohib/goLang-app-rss-feed-scraper
modulepackage
0.0.0-20241209125808-3016d6744485
Repository: https://github.com/newmohib/golang-app-rss-feed-scraper.git
Documentation: pkg.go.dev

# README

GoLang Sample app for RSS Feed

Tutorial

initialize project

  • go mod init projectname

build and run

  • go build && ./goLang-app-rss-feed-scraper

added env config package

  • go get github.com/joho/godotenv

create vendor dir

  • go mod vendor

clean mod file

  • go mod tidy

run query

  • sqlc generate

migration

  • goose postgres postgres://postgres:postgres@localhost:5432/go-rssagg-app up

install http module

  • go mod tidy

  • go mod vendor

  • go get -u github.com/go-chi/chi/v5

  • go get github.com/go-chi/cors

  • both are need for database

    • go install github.com/sqlc-dev/sqlc/cmd/sqlc@latest
    • go install github.com/pressly/goose/v3/cmd/goose@latest
  • add posgres driver

    • go get github.com/lib/pq

# Structs

No description provided by the author
No description provided by the author
Post
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author