@@ -1892,10 +1892,10 @@ var startOfEpoch = timefy.MustParse("2020-01-01")
18921892
18931893## 24. Enterprise Use Cases
18941894
1895- The ` _example /` directory contains five complete, runnable enterprise programs
1895+ The ` examples /` directory contains five complete, runnable enterprise programs
18961896that demonstrate production-grade patterns.
18971897
1898- ### ` _example /billing/` — SaaS Subscription Billing
1898+ ### ` examples /billing/` — SaaS Subscription Billing
18991899
19001900** Business problem:** A multi-tenant SaaS platform bills customers monthly,
19011901quarterly, and annually. Customers sign up mid-period and receive pro-rated
@@ -1918,10 +1918,10 @@ charges. Some plans include a free trial period.
19181918| ` DurationInDays ` | Pro-rate day counting |
19191919
19201920``` bash
1921- cd _example /billing && go run main.go
1921+ cd examples /billing && go run main.go
19221922```
19231923
1924- ### ` _example /global_team/` — Multi-Timezone Team Coordination
1924+ ### ` examples /global_team/` — Multi-Timezone Team Coordination
19251925
19261926** Business problem:** An engineering organization spans five cities. The
19271927platform must find meeting overlap windows, detect business-hour availability,
@@ -1940,10 +1940,10 @@ and generate cross-team working-day schedules that respect public holidays.
19401940| ` New(t).TimeAgo() ` / ` TimeUntil() ` | Release timeline display |
19411941
19421942``` bash
1943- cd _example /global_team && go run main.go
1943+ cd examples /global_team && go run main.go
19441944```
19451945
1946- ### ` _example /audit/` — Enterprise Audit Trail & Compliance
1946+ ### ` examples /audit/` — Enterprise Audit Trail & Compliance
19471947
19481948** Business problem:** A financial services platform records all data-access
19491949events, enforces GDPR Article 33 (72-hour breach notification), detects SLA
@@ -1965,10 +1965,10 @@ breaches for support tickets, and generates CISO reports.
19651965| ` New(t).TimeAgo() ` | Human-readable event age |
19661966
19671967``` bash
1968- cd _example /audit && go run main.go
1968+ cd examples /audit && go run main.go
19691969```
19701970
1971- ### ` _example /reporting/` — Financial Quarter & Fiscal-Year Reporting
1971+ ### ` examples /reporting/` — Financial Quarter & Fiscal-Year Reporting
19721972
19731973** Business problem:** A publicly-traded company needs precise SEC filing
19741974windows, YTD periods, QoQ comparisons, and a July-1-start fiscal year
@@ -1991,10 +1991,10 @@ calendar.
19911991| ` New(t).Quarter() ` | Quarter number label |
19921992
19931993``` bash
1994- cd _example /reporting && go run main.go
1994+ cd examples /reporting && go run main.go
19951995```
19961996
1997- ### ` _example /scheduler/` — Business-Day-Aware Job Scheduler
1997+ ### ` examples /scheduler/` — Business-Day-Aware Job Scheduler
19981998
19991999** Business problem:** A financial data platform schedules ETL jobs on daily,
20002000monthly, and quarterly boundaries, ensuring jobs fire only on business days and
@@ -2017,7 +2017,7 @@ are not duplicated within a configurable time window.
20172017| ` New(t).TimeAgo() ` / ` TimeUntil() ` | Last-ran / next-run display |
20182018
20192019``` bash
2020- cd _example /scheduler && go run main.go
2020+ cd examples /scheduler && go run main.go
20212021```
20222022
20232023---
0 commit comments