MCPcopy
hub / github.com/chubin/wttr.in / RenderFunc

FuncType RenderFunc

internal/renderer/oneline/oneline.go:21–21  ·  view source on GitHub ↗

────────────────────────────────────────────────────────────────────────────── Unified render function signature ──────────────────────────────────────────────────────────────────────────────

func(ctx *RenderContext) string

Source from the content-addressed store, hash-verified

19// ──────────────────────────────────────────────────────────────────────────────
20
21type RenderFunc func(ctx *RenderContext) string
22
23// OnelineRenderer is responsible for rendering weather data
24// in the compact one-line text format (?format=... or preconfigured IDs).

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected