From 8510c36ded85740885e67b59ee2ec2360986c0a9 Mon Sep 17 00:00:00 2001 From: Alexander Kavon Date: Tue, 23 Jan 2024 01:40:39 -0500 Subject: 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 --- src/main.go | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/main.go') 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) -- cgit v1.2.3