Skip to content

Instantly share code, notes, and snippets.

@aminnairi
Created October 10, 2025 10:07
Show Gist options
  • Save aminnairi/faf5318ed9a573d40ff08038e1e85186 to your computer and use it in GitHub Desktop.
Save aminnairi/faf5318ed9a573d40ff08038e1e85186 to your computer and use it in GitHub Desktop.
package main
import (
"fmt"
)
func main() {
fmt.Println("Hello, ESGI!")
// GET /users → 200, Content-Type: application/json, []
// POST /users → 201, Content-Type: application/json, {"message": "Created"}
// PATCH /users/123 → 200, Content-Type: application/json, {"message": "Updated #123"}
// DELETE /users/123 → 200, Content-Type: application/json, {"message": "Deleted #123"}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment