feat: initial Gin-Go web app scaffold
This commit is contained in:
19
README.md
Normal file
19
README.md
Normal 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
|
||||
Reference in New Issue
Block a user