feat: initial Gin-Go web app scaffold

This commit is contained in:
opencode
2026-02-22 16:15:38 +00:00
committed by OpenCode Bot
commit c92ba81367
5 changed files with 145 additions and 0 deletions

19
README.md Normal file
View File

@@ -0,0 +1,19 @@
# Gin + Go Web App
This is a minimal, functional Go application using the Gin web framework.
Features:
- Basic REST endpoints
- HTML page rendering with templates
- In-memory data store for demonstration
How to run
- Install Go (1.20+)
- go mod download
- go run main.go
- Open http://localhost:8080
Structure
- main.go: application entry and routes
- templates/index.html: HTML template for root page
- static/style.css: simple CSS
- go.mod: module declaration