Documentation
¶
Directories
¶
| Path | Synopsis |
|---|---|
|
models
|
|
|
modules
|
|
|
localization
Package localization provides generic, app-agnostic country/currency/ timezone/phone reference data and resolution — a Country registry, an AccountCountry vs DetectedCountry resolution middleware, and IP-based country detection — for any nebularcore-based product operating in more than one country.
|
Package localization provides generic, app-agnostic country/currency/ timezone/phone reference data and resolution — a Country registry, an AccountCountry vs DetectedCountry resolution middleware, and IP-based country detection — for any nebularcore-based product operating in more than one country. |
|
localization/geoip
Package geoip resolves a client IP address to a best-guess ISO country code, for DetectedCountry only (display/discovery convenience — never authoritative for billing; see the localization module's middleware).
|
Package geoip resolves a client IP address to a best-guess ISO country code, for DetectedCountry only (display/discovery convenience — never authoritative for billing; see the localization module's middleware). |
|
localization/middleware
Package middleware resolves per-request country context and injects it into the gin context, mirroring modules/auth/middleware's c.Set("user", ...) pattern.
|
Package middleware resolves per-request country context and injects it into the gin context, mirroring modules/auth/middleware's c.Set("user", ...) pattern. |
|
tests
|
|
|
load/testapp
command
|
|
|
money
Package money provides small, generic minor-unit currency helpers — formatting and conversion only, no payment-provider logic (that's app-specific and belongs in the host app).
|
Package money provides small, generic minor-unit currency helpers — formatting and conversion only, no payment-provider logic (that's app-specific and belongs in the host app). |
Click to show internal directories.
Click to hide internal directories.