docs: remove all emojis from playbook document

- Remove emoji numbers from section headers (1-13)
- Remove rocket emoji from final congratulations message
- All sections now use plain numbers instead of emoji numbers
This commit is contained in:
2025-11-05 20:55:49 +01:00
parent 52d48590ae
commit 278a727b8c

View File

@@ -1,7 +1,7 @@
# GoPlatform Boilerplate Playbook # GoPlatform Boilerplate Playbook
**“Pluginfriendly SaaS/Enterprise Platform Go Edition”** **“Pluginfriendly SaaS/Enterprise Platform Go Edition”**
## 1️⃣ ARCHITECTURAL IMPERATIVES (Goflavoured) ## 1 ARCHITECTURAL IMPERATIVES (Goflavoured)
| Principle | Gospecific rationale | Enforcement Technique | | Principle | Gospecific rationale | Enforcement Technique |
|-----------|-----------------------|------------------------| |-----------|-----------------------|------------------------|
@@ -18,7 +18,7 @@
--- ---
## 2️⃣ CORE KERNEL (What every Goplatform must ship) ## 2 CORE KERNEL (What every Goplatform must ship)
| Module | Public Interfaces (exported from `pkg/`) | Recommended Packages | Brief Implementation Sketch | | Module | Public Interfaces (exported from `pkg/`) | Recommended Packages | Brief Implementation Sketch |
|--------|-------------------------------------------|----------------------|------------------------------| |--------|-------------------------------------------|----------------------|------------------------------|
@@ -40,7 +40,7 @@ All *public* interfaces live under `pkg/` so that plugins can import them wit
--- ---
## 3️⃣ MODULE (PLUGIN) FRAMEWORK ## 3 MODULE (PLUGIN) FRAMEWORK
### 3.1 Interface that every module must implement ### 3.1 Interface that every module must implement
@@ -167,7 +167,7 @@ A **codegen** tool (`go generate ./...`) can scan each modules `module.yam
--- ---
## 4️⃣ SAMPLE FEATURE MODULE **Blog** ## 4 SAMPLE FEATURE MODULE **Blog**
``` ```
modules/ modules/
@@ -312,7 +312,7 @@ func (r *PostRepo) Create(ctx context.Context, p *Post) (*Post, error) {
--- ---
## 5️⃣ INFRASTRUCTURE ADAPTERS (swapable, perenvironment) ## 5 INFRASTRUCTURE ADAPTERS (swapable, perenvironment)
| Concern | Implementation (Go) | Where it lives | | Concern | Implementation (Go) | Where it lives |
|---------|---------------------|----------------| |---------|---------------------|----------------|
@@ -328,7 +328,7 @@ All adapters expose an **interface** in `pkg/infra/…` and are registered in th
--- ---
## 6️⃣ OBSERVABILITY STACK ## 6 OBSERVABILITY STACK
| Layer | Library | What it does | | Layer | Library | What it does |
|-------|---------|--------------| |-------|---------|--------------|
@@ -372,7 +372,7 @@ func PromMetrics() gin.HandlerFunc {
--- ---
## 7️⃣ CONFIGURATION & ENVIRONMENT ## 7 CONFIGURATION & ENVIRONMENT
``` ```
config/ config/
@@ -405,7 +405,7 @@ All services receive a `*Config` via DI.
--- ---
## 8️⃣ CI / CD PIPELINE (GitHub Actions) ## 8 CI / CD PIPELINE (GitHub Actions)
```yaml ```yaml
name: CI name: CI
@@ -469,7 +469,7 @@ jobs:
--- ---
## 9️⃣ TESTING STRATEGY ## 9 TESTING STRATEGY
| Test type | Tools | Typical coverage | | Test type | Tools | Typical coverage |
|-----------|-------|------------------| |-----------|-------|------------------|
@@ -523,7 +523,7 @@ func TestCreatePost_Integration(t *testing.T) {
--- ---
## 10️⃣ COMMON PITFALLS & SOLUTIONS (Gocentric) ## 10 COMMON PITFALLS & SOLUTIONS (Gocentric)
| Pitfall | Symptom | Remedy | | Pitfall | Symptom | Remedy |
|---------|----------|--------| |---------|----------|--------|
@@ -540,7 +540,7 @@ func TestCreatePost_Integration(t *testing.T) {
--- ---
## 11️⃣ QUICKSTART STEPS (What to code first) ## 11 QUICKSTART STEPS (What to code first)
1. **Bootstrap repo** 1. **Bootstrap repo**
```bash ```bash
@@ -586,7 +586,7 @@ After step10 you have a **complete, productiongrade scaffolding** that:
--- ---
## 12️⃣ REFERENCE IMPLEMENTATION (public) ## 12 REFERENCE IMPLEMENTATION (public)
If you prefer to start from a **real opensource baseline**, check out the following community projects that already adopt most of the ideas above: If you prefer to start from a **real opensource baseline**, check out the following community projects that already adopt most of the ideas above:
@@ -602,7 +602,7 @@ Fork one, strip the business logic, and rename the packages to match *your* `git
--- ---
## 13️⃣ FINAL CHECKLIST (before you ship) ## 13 FINAL CHECKLIST (before you ship)
- [ ] Core modules compiled & registered in `internal/di`. - [ ] Core modules compiled & registered in `internal/di`.
- [ ] `module.IModule` interface and static registry in place. - [ ] `module.IModule` interface and static registry in place.
@@ -617,4 +617,4 @@ Fork one, strip the business logic, and rename the packages to match *your* `git
- [ ] Sample plugin (Blog) builds, loads, registers routes, and passes integration test. - [ ] Sample plugin (Blog) builds, loads, registers routes, and passes integration test.
- [ ] Documentation: `README.md`, `docs/architecture.md`, `docs/extension-points.md`. - [ ] Documentation: `README.md`, `docs/architecture.md`, `docs/extension-points.md`.
> **Congratulations!** You now have a **robust, extensible Go platform boilerplate** that can be the foundation for any SaaS, internal toolset, or microservice ecosystem you wish to build. Happy coding! 🚀 > **Congratulations!** You now have a **robust, extensible Go platform boilerplate** that can be the foundation for any SaaS, internal toolset, or microservice ecosystem you wish to build. Happy coding!