Documentation
¶
Index ¶
- func BuiltinID(tenant, id string) string
- func Float(v string, defaultValue float64) float64
- func Float64(value any) (float64, error)
- func Int(v string, defaultValue int) int
- func Int64(value any) (int64, error)
- func Label(input string) string
- func ScheduleLabel(cron, timezone string) string
- func SlugLabel(slug string) string
- func Strings(values []string) []string
- func TitleCase(input string) string
- func Uint64(value any) (uint64, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BuiltinID ¶
BuiltinID returns the stable, tenant-specific ID for a built-in resource. It keeps the 20-character xid-compatible form required by URNs.
func ScheduleLabel ¶
ScheduleLabel returns a human-readable cron schedule label.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.