package imgviewer import ( "personalwebsite/websiteapp" "github.com/gin-gonic/gin" ) type ImgViewerApp struct { manifest websiteapp.ApplicationManifest } func NewImgViewerApp() ImgViewerApp { newApp := ImgViewerApp{ manifest: websiteapp.ApplicationManifest{ AppId: "img-viewer", WindowName: "About me", //TODO: delete }, } return newApp } func (p *ImgViewerApp) GetManifest() websiteapp.ApplicationManifest { return p.manifest } func (p *ImgViewerApp) GetId() string { return p.manifest.AppId } func (p *ImgViewerApp) Render(isMobile bool) gin.H { return gin.H{ "Name": "Greg Brzezinski", "BasicBio": "Born 27.09.1998 at Saint-Petersburg", } }