4 min lecture • Guide 207 of 877
Gestion de Projet pour Équipes de Développement Go
Les équipes Go ont besoin d'une gestion de projet qui comprend la philosophie de simplicité du langage. GitScrum correspond au mindset Go: outils focalisés, sans bloat, avec une intégration Git profonde qui accompagne le développement d'APIs, CLIs et microservices.
Structure de Projet Go
Organisation par Contexte
ORGANISATION POUR ÉQUIPES GO:
┌─────────────────────────────────────────────────────────────┐
│ LABELS ET CATÉGORIES │
├─────────────────────────────────────────────────────────────┤
│ │
│ PAR COUCHE: │
│ ┌─────────────────────────────────────────────────────────┐│
│ │ 🟢 api → Handlers HTTP, gRPC ││
│ │ 🔵 service → Business logic ││
│ │ 🟣 repository → Data access, database ││
│ │ 🟡 pkg → Shared packages ││
│ │ 🟠 cmd → CLI tools, entrypoints ││
│ │ 🔴 infra → Docker, Kubernetes, CI/CD ││
│ └─────────────────────────────────────────────────────────┘│
│ │
│ PAR TYPE: │
│ ┌─────────────────────────────────────────────────────────┐│
│ │ ⭐ feature → Nouvelle fonctionnalité ││
│ │ 🐛 bug → Correction ││
│ │ ⚡ perf → Performance ││
│ │ 🧪 test → Tests ││
│ │ 📝 docs → Documentation ││
│ │ ♻️ refactor → Refactorisation ││
│ └─────────────────────────────────────────────────────────┘│
│ │
│ COLONNES KANBAN: │
│ ┌─────────────────────────────────────────────────────────┐│
│ │ Backlog → In Progress → Review → Testing → Done ││
│ └─────────────────────────────────────────────────────────┘│
│ │
└─────────────────────────────────────────────────────────────┘
Workflow de Développement Go
Cycle de Tâche
FLUX DE TRAVAIL GO:
┌─────────────────────────────────────────────────────────────┐
│ DE LA TÂCHE AU DÉPLOIEMENT │
├─────────────────────────────────────────────────────────────┤
│ │
│ 1. CRÉATION DE TÂCHE │
│ ┌─────────────────────────────────────────────────────────┐│
│ │ Titre: "Add rate limiting middleware" ││
│ │ Labels: api, middleware ││
│ │ ││
│ │ Checklist: ││
│ │ □ Définir interface ││
│ │ □ Implémenter middleware ││
│ │ □ Ajouter backend Redis ││
│ │ □ Unit tests (go test) ││
│ │ □ Benchmark tests ││
│ │ □ Mettre à jour docs API ││
│ └─────────────────────────────────────────────────────────┘│
│ │
│ 2. BRANCHE ET DÉVELOPPEMENT │
│ ┌─────────────────────────────────────────────────────────┐│
│ │ git checkout -b feature/TASK-234-rate-limit ││
│ │ ││
│ │ Commits (Conventional Commits): ││
│ │ "feat(middleware): add rate limiting [TASK-234]" ││
│ │ "test(middleware): add rate limit tests [TASK-234]" ││
│ └─────────────────────────────────────────────────────────┘│
│ │
│ 3. PR ET CI │
│ ┌─────────────────────────────────────────────────────────┐│
│ │ PR ouverte → Tâche en "Review" ││
│ │ CI: go test, go vet, golangci-lint ││
│ │ PR mergée → Tâche en "Done" ││
│ │ Déploiement → Tag de version ││
│ └─────────────────────────────────────────────────────────┘│
│ │
└─────────────────────────────────────────────────────────────┘
Story Points pour Go
Échelle d'Effort
ESTIMATIONS GO:
┌─────────────────────────────────────────────────────────────┐
│ POINTS PAR COMPLEXITÉ │
├─────────────────────────────────────────────────────────────┤
│ │
│ 1 point: │
│ • Endpoint simple │
│ • Bugfix localisé │
│ • Mise à jour de dépendance │
│ │
│ 2 points: │
│ • Nouveau handler avec validation │
│ • Middleware simple │
│ • Nouvelle CLI command │
│ │
│ 3 points: │
│ • Service avec multiples dépendances │
│ • Intégration avec service externe │
│ • Nouveau package partagé │
│ │
│ 5 points: │
│ • Nouveau microservice │
│ • Système de cache distribué │
│ • Worker avec retry/backoff │
│ │
│ 8 points: │
│ • Migration d'architecture │
│ • Nouveau système complet │
│ │
└─────────────────────────────────────────────────────────────┘
Outils et Intégration
| Outil | Intégration GitScrum |
|---|---|
| go test | Liez résultats au sprint |
| golangci-lint | Suivez issues de lint |
| go mod | Suivez dépendances |
| Docker | Suivi des déploiements |
| gRPC | Suivez les APIs |
| Prometheus | Tâches de monitoring |