miz

package
v1.11.1 Latest Latest
Warning

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

Go to latest
Published: Apr 15, 2024 License: MIT Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Clean

func Clean()

Clean will remove the unpacked mission from directory

func Unzip

func Unzip() ([]string, error)

Unzip will decompress a zip archive, moving all files and folders within the zip file to dest, taken from https://golangcode.com/unzip-files-in-go/

func Update

func Update(data weather.WeatherData) error

Update applies weather and time updates to the unpacked mission file

func UpdateBrief added in v1.11.0

func UpdateBrief(metar string) error

UpdateBrief updates the unpacked mission brief with the generated METAR

func Zip

func Zip() error

Zip takes the unpacked mission and recreates the mission file taken from https://golangcode.com/create-zip-files-in-go/

Types

This section is empty.

Jump to

Keyboard shortcuts

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