20 lines
465 B
Markdown
20 lines
465 B
Markdown
# 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
|