mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2025-11-01 00:42:25 -05:00
start implementing db interface
This commit is contained in:
parent
c879e1b0b3
commit
d8e8d44d47
9 changed files with 496 additions and 18 deletions
|
|
@ -39,9 +39,9 @@ func (r *router) Route() {
|
|||
ginRouter.LoadHTMLGlob("web/template/*")
|
||||
|
||||
apiGroup := ginRouter.Group("/api")
|
||||
|
||||
|
||||
v1 := apiGroup.Group("/v1")
|
||||
|
||||
|
||||
statusesGroup := v1.Group("/statuses")
|
||||
statusesGroup.GET(":id", statusGet)
|
||||
ginRouter.Run()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue