Skip to content

Latest commit

 

History

History
32 lines (26 loc) · 549 Bytes

README.md

File metadata and controls

32 lines (26 loc) · 549 Bytes

NOTAM

Go Reference

Fetch NOTAM for given ICAO code from www.notams.faa.gov

Installation

go get github.com/matisiekpl/notam

Usage

package main

import (
	"fmt"
	"github.com/matisiekpl/notam"
	"log"
)

func main() {
	// Rzeszow-Jasionka Airport, Poland
	items, err := notam.Fetch("EPRZ")
	if err != nil {
		log.Fatal(err)
	}
	for _, item := range items {
		fmt.Println(item)
	}
}