A small web application that greets users by name based on their ID.
Open http://localhost:8080 in your browser, enter a User ID (try 1, 2, or 3), and the app responds with Hello [Name].
- Docker
docker build -t greeting-app .
docker run --rm -p 8080:8080 greeting-app
docker run -p 8080:8080 greeting-appThen visit http://localhost:8080.
.
├── main.go
├── internal/
│ └── userservice/
│ └── service.go
├── templates/
│ └── index.html
├── data/
│ └── users.json
├── Dockerfile
└── go.mod