notam

package module
v0.0.0-...-ed36444 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 3, 2023 License: MIT Imports: 7 Imported by: 0

README

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Fetch

func Fetch(icao string) ([]string, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL