2023-03-20 11:20:37 +00:00
|
|
|
package finder
|
|
|
|
|
|
|
|
import (
|
|
|
|
"personalwebsite/websiteapp"
|
|
|
|
|
|
|
|
"github.com/gin-gonic/gin"
|
|
|
|
)
|
|
|
|
|
2023-04-29 12:03:03 +00:00
|
|
|
type FinderApplication struct {
|
2023-03-20 11:20:37 +00:00
|
|
|
manifest websiteapp.ApplicationManifest
|
|
|
|
}
|
|
|
|
|
2023-04-29 12:03:03 +00:00
|
|
|
func NewFinderApplication() *FinderApplication {}
|
|
|
|
func (f *FinderApplication) GetManifest() websiteapp.ApplicationManifest {
|
2023-03-20 11:20:37 +00:00
|
|
|
return f.manifest
|
|
|
|
}
|
2023-04-29 12:03:03 +00:00
|
|
|
func (f *FinderApplication) GetId() string {
|
2023-03-20 11:20:37 +00:00
|
|
|
return f.manifest.AppId
|
|
|
|
}
|
|
|
|
|
2023-04-29 12:03:03 +00:00
|
|
|
func (f *FinderApplication) Render(isMobile bool) gin.H {
|
2023-03-20 11:20:37 +00:00
|
|
|
return gin.H{}
|
|
|
|
}
|