utils

package
v1.1.1 Latest Latest
Warning

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

Go to latest
Published: Oct 22, 2020 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func EnlistLocations

func EnlistLocations(root *teryt.Location, cfg teryt.Config) []*teryt.Location

func LoadData

func LoadData(tercFile, simcFile string) ([]teryt.SetTERC, []teryt.SetSIMC, error)

func OpenFile

func OpenFile(filePath string) (io.ReadCloser, error)

OpenFile opens a file to read. If file is *.zip it uses a unzip wrapper and opens the only file or the file with the name same as zip with extension replaced by .csv

func PrintLocations

func PrintLocations(loc *teryt.Location) int

Types

This section is empty.

Jump to

Keyboard shortcuts

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