aboutsummaryrefslogtreecommitdiff
path: root/src/main.go
diff options
context:
space:
mode:
authorAlexander Kavon <me+git@alexkavon.com>2024-01-23 01:40:39 -0500
committerAlexander Kavon <me+git@alexkavon.com>2024-01-23 01:40:39 -0500
commit8510c36ded85740885e67b59ee2ec2360986c0a9 (patch)
treec8c4c70458bb65b0ee134f80cb364db851e9c7a2 /src/main.go
parentf329e7f2095a57967bfe86563401236d53a15924 (diff)
new tables: tags, post_tags, generated sqlboiler tags model, updated posts/get template, updated posts table to take nullable description and user_id foreign key
Diffstat (limited to 'src/main.go')
-rw-r--r--src/main.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/main.go b/src/main.go
index 4dc2caf..208944f 100644
--- a/src/main.go
+++ b/src/main.go
@@ -3,6 +3,7 @@ package main
import (
"gitlab.com/alexkavon/newsstand/src/conf"
"gitlab.com/alexkavon/newsstand/src/db"
+ "gitlab.com/alexkavon/newsstand/src/post"
"gitlab.com/alexkavon/newsstand/src/server"
"gitlab.com/alexkavon/newsstand/src/user"
)
@@ -18,6 +19,7 @@ func main() {
s.BuildUi()
routers := []server.Routes{
user.Routes,
+ post.Routes,
}
for _, r := range routers {
s.RegisterRoutes(r)