summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Burwell <ben@benburwell.com>2020-02-06 00:17:18 -0500
committerBen Burwell <ben@benburwell.com>2020-02-06 00:17:18 -0500
commitb89bb99af938ee9cc459c5519902706af1e9d681 (patch)
treecaecc4d7bbc0fb09caef004c179ae5bc0a27115f
parent5dc6598f92f9b197f5b5e3fb99cb39e36ff039cd (diff)
update doc formattingHEADmaster
-rw-r--r--metar/metar.go15
1 files changed, 8 insertions, 7 deletions
diff --git a/metar/metar.go b/metar/metar.go
index 3d303c5..072a2cd 100644
--- a/metar/metar.go
+++ b/metar/metar.go
@@ -215,13 +215,14 @@ func NewRequest(args ...func(*Request)) *Request {
// or two-letter country abbrevations prefixed with '~'.
//
// Examples:
-// - "KDEN KSEA, PHNL" obtains all available METARs for KDEN, KSEA, and PHNL
-// - "KSEA KDE" obtains all available METARs for KSEA and all ICAO IDs
-// beginning with KDE (i.e. KDEN, KDEH, KDEW, etc)
-// - "KSEA KDE*" is equivalent to "KSEA KDE"
-// - "@WA" obtains METARs for all ICAO IDs from Washington state
-// - "@BC" obtains METARs for all ICAO IDs from British Columbia, Canada
-// - "~au" obtains METARs for all ICAO IDs from Australia
+// - "KDEN KSEA, PHNL" obtains all available METARs for KDEN, KSEA, and
+// PHNL
+// - "KSEA KDE" obtains all available METARs for KSEA and all ICAO IDs
+// beginning with KDE (i.e. KDEN, KDEH, KDEW, etc)
+// - "KSEA KDE*" is equivalent to "KSEA KDE"
+// - "@WA" obtains METARs for all ICAO IDs from Washington state
+// - "@BC" obtains METARs for all ICAO IDs from British Columbia, Canada
+// - "~au" obtains METARs for all ICAO IDs from Australia
func StationString(s string) func(*Request) {
return func(r *Request) {
r.v.Add("stationString", s)