29 lines
567 B
Go
29 lines
567 B
Go
package blogwriter
|
|
|
|
import (
|
|
"personalwebsite/webfilesystem"
|
|
|
|
"github.com/gin-gonic/gin"
|
|
)
|
|
|
|
type BlogWriterApplication struct {
|
|
fs *webfilesystem.WebFileSystem
|
|
appID string
|
|
}
|
|
|
|
func NewBlogWriterApp(webfs *webfilesystem.WebFileSystem) *BlogWriterApplication {
|
|
return &BlogWriterApplication{
|
|
fs: webfs,
|
|
appID: "BlogWriter",
|
|
}
|
|
}
|
|
|
|
func (bw *BlogWriterApplication) GetAppID() string {
|
|
return bw.appID
|
|
}
|
|
|
|
func (bw *BlogWriterApplication) PublicRoutes(routes *gin.RouterGroup) {}
|
|
func (bw *BlogWriterApplication) PrivateRoutes(routes *gin.RouterGroup) {
|
|
|
|
}
|