Skip to content

matisiekpl/notam

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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)
	}
}