James Tombleson
75b66dd625
* Using sqlc to generate queries and goose for migrations. The intial tests look good. * moving the old calls away for now. Might use this in a package later on. * Added postgres driver * Updated the dockerfile to support sql migrations * added sqlc config file * updated schema and starting a seed script * updated models to use the database ones * updated reddit cron to talk to the db * added env for sql connection string * got the reddit source working with the db and posting articles * added sql packages * added rule to ignore dev sql file * added migration down statement for rolling back * updated cron for reddit and youtube * Updated reddit to follow a new standard pattern * updated youtube to follow new patterns * updated tests and brought them to the standard * updated the seed migration * all cron tasks should feed the db now * updated app init * bumped docker to 1.18.3 * disabled remote tests given secrets and lack of interfaces currently to run tests
30 lines
995 B
Modula-2
30 lines
995 B
Modula-2
module github.com/jtom38/newsbot/collector
|
|
|
|
go 1.18
|
|
|
|
require (
|
|
github.com/PuerkitoBio/goquery v1.8.0
|
|
github.com/go-chi/chi/v5 v5.0.7
|
|
github.com/go-rod/rod v0.105.1
|
|
github.com/google/uuid v1.3.0
|
|
github.com/joho/godotenv v1.4.0
|
|
github.com/lib/pq v1.10.6
|
|
github.com/mmcdole/gofeed v1.1.3
|
|
github.com/nicklaw5/helix/v2 v2.4.0
|
|
github.com/robfig/cron/v3 v3.0.1
|
|
)
|
|
|
|
require (
|
|
github.com/andybalholm/cascadia v1.3.1 // indirect
|
|
github.com/golang-jwt/jwt/v4 v4.4.1 // indirect
|
|
github.com/json-iterator/go v1.1.10 // indirect
|
|
github.com/mmcdole/goxpp v0.0.0-20181012175147-0068e33feabf // indirect
|
|
github.com/modern-go/concurrent v0.0.0-20180228061459-e0a39a4cb421 // indirect
|
|
github.com/modern-go/reflect2 v0.0.0-20180701023420-4b7aa43c6742 // indirect
|
|
github.com/ysmood/goob v0.4.0 // indirect
|
|
github.com/ysmood/gson v0.7.1 // indirect
|
|
github.com/ysmood/leakless v0.7.0 // indirect
|
|
golang.org/x/net v0.0.0-20210916014120-12bc252f5db8 // indirect
|
|
golang.org/x/text v0.3.6 // indirect
|
|
)
|