-
Notifications
You must be signed in to change notification settings - Fork 3
Fixed All Bug #10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Fixed All Bug #10
Conversation
✅ Updated internal/handlers/webapp.go - Added 8 new handler methods ✅ Created 5 new templates - Complete Flask-compatible UI ✅ Added proper error handling - Comprehensive error templates ✅ Enhanced user experience - Modern, responsive design
@asmit27rai : Thank you. As guided earlier, wish to share if you could maintain the example in your working branch as correctly recommended by Dave. Will guide you on how to maintain the example in your repository. Dave and I will reference your fork in the go-libp2p example in universal connectivity workshop too. |
@asmit27rai I reviewed the updates and tried to test it locally. This is my overall review:
![]()
![]()
go-backend-1 | 2025/10/15 16:01:40 Loading 10 template files from web/templates/*
go-backend-1 | 2025/10/15 16:01:40 - web/templates/allusersheets.html
go-backend-1 | 2025/10/15 16:01:40 - web/templates/amazonwebapp.html
go-backend-1 | 2025/10/15 16:01:40 - web/templates/base.html
go-backend-1 | 2025/10/15 16:01:40 - web/templates/htmltopdf.html
go-backend-1 | 2025/10/15 16:01:40 - web/templates/importcollab.html
go-backend-1 | 2025/10/15 16:01:40 - web/templates/importcollabload.html
go-backend-1 | 2025/10/15 16:01:40 - web/templates/importerror.html
go-backend-1 | 2025/10/15 16:01:40 - web/templates/landing-page.html
go-backend-1 | 2025/10/15 16:01:40 - web/templates/login.html
go-backend-1 | 2025/10/15 16:01:40 - web/templates/register.html
go-backend-1 | panic: template: base.html:6: function "default" not defined
go-backend-1 |
go-backend-1 | goroutine 1 [running]:
go-backend-1 | html/template.Must(...)
go-backend-1 | /usr/local/go/src/html/template/template.go:368
go-backend-1 | github.com/gin-gonic/gin.(*Engine).LoadHTMLGlob(0xc0004c7040, {0x1252384, 0xf})
go-backend-1 | /go/pkg/mod/github.com/gin-gonic/gin@v1.10.1/gin.go:263 +0x2f7
go-backend-1 | main.setupRoutes(0xc0004c7040, 0xc0000b0500)
go-backend-1 | /app/cmd/server/main.go:91 +0x1591
go-backend-1 | main.main()
go-backend-1 | /app/cmd/server/main.go:52 +0x49c
go-backend-1 exited with code 2
Gracefully stopping... (press Ctrl+C again to force)
dependency failed to start: container go-backend-touch-calc-go-backend-1 is unhealthy cc @seetadev |
@asmit27rai updated review: though the socialcalc sheet chan be opened via this url after the server start: cc @seetadev |
@rohansen856 I fixed the issue in the latest commit. |
How to run :
.env.example
in.env
make docker-run
http://localhost:8080/browser/touchcalc/123/index.html