add /blogs/{blogID} and /blogs/lookup/{blogName} routes
This commit is contained in:
parent
dfc116d828
commit
dd72a1f4c1
5 changed files with 104 additions and 1 deletions
13
web/api/blogs/module.go
Normal file
13
web/api/blogs/module.go
Normal file
|
@ -0,0 +1,13 @@
|
|||
package blogs
|
||||
|
||||
import "git.sleepycat.moe/sam/mercury/web/app"
|
||||
|
||||
type App struct {
|
||||
*app.App
|
||||
}
|
||||
|
||||
func New(app *app.App) *App {
|
||||
return &App{
|
||||
App: app,
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue