Moved away from local files to complete database driven articles

This commit is contained in:
2021-12-20 23:10:04 +01:00
parent bc3ec64b3c
commit c909339a73
20 changed files with 302 additions and 299 deletions

4
go.mod
View File

@@ -3,10 +3,10 @@ module TheAdversary
go 1.17
require (
github.com/fsnotify/fsnotify v1.4.9
github.com/gomarkdown/markdown v0.0.0-20211207152620-5d6539fd8bfc
github.com/gorilla/mux v1.8.0
github.com/joho/godotenv v1.4.0
go.uber.org/zap v1.19.1
gorm.io/driver/sqlite v1.2.6
gorm.io/gorm v1.22.4
)
@@ -15,5 +15,7 @@ require (
github.com/jinzhu/inflection v1.0.0 // indirect
github.com/jinzhu/now v1.1.3 // indirect
github.com/mattn/go-sqlite3 v1.14.9 // indirect
go.uber.org/atomic v1.7.0 // indirect
go.uber.org/multierr v1.6.0 // indirect
golang.org/x/sys v0.0.0-20210510120138-977fb7262007 // indirect
)