Fix name in FinderApplication
This commit is contained in:
parent
21b201fd9d
commit
b6b3cf9ca1
2
main.go
2
main.go
@ -62,7 +62,7 @@ func main() {
|
|||||||
|
|
||||||
webfs := webfilesystem.NewWebFileSystem(client, dBName, webFsCollection)
|
webfs := webfilesystem.NewWebFileSystem(client, dBName, webFsCollection)
|
||||||
persPropsApp := personalprops.NewPersPropsApp()
|
persPropsApp := personalprops.NewPersPropsApp()
|
||||||
finderApp := finder.FinerApplication{}
|
finderApp := finder.FinderApplication{}
|
||||||
imgViewerApp := imgviewer.NewImgViewerApp()
|
imgViewerApp := imgviewer.NewImgViewerApp()
|
||||||
blogViewerApp := blogviewer.NewBlogViewerApp(webfs)
|
blogViewerApp := blogviewer.NewBlogViewerApp(webfs)
|
||||||
appsStorage := websiteapp.ApplicationsStorage{
|
appsStorage := websiteapp.ApplicationsStorage{
|
||||||
|
@ -6,17 +6,18 @@ import (
|
|||||||
"github.com/gin-gonic/gin"
|
"github.com/gin-gonic/gin"
|
||||||
)
|
)
|
||||||
|
|
||||||
type FinerApplication struct {
|
type FinderApplication struct {
|
||||||
manifest websiteapp.ApplicationManifest
|
manifest websiteapp.ApplicationManifest
|
||||||
}
|
}
|
||||||
|
|
||||||
func (f *FinerApplication) GetManifest() websiteapp.ApplicationManifest {
|
func NewFinderApplication() *FinderApplication {}
|
||||||
|
func (f *FinderApplication) GetManifest() websiteapp.ApplicationManifest {
|
||||||
return f.manifest
|
return f.manifest
|
||||||
}
|
}
|
||||||
func (f *FinerApplication) GetId() string {
|
func (f *FinderApplication) GetId() string {
|
||||||
return f.manifest.AppId
|
return f.manifest.AppId
|
||||||
}
|
}
|
||||||
|
|
||||||
func (f *FinerApplication) Render(isMobile bool) gin.H {
|
func (f *FinderApplication) Render(isMobile bool) gin.H {
|
||||||
return gin.H{}
|
return gin.H{}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user