vexparser

package
v0.0.0-...-9714d35 Latest Latest
Warning

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

Go to latest
Published: Apr 19, 2023 License: AGPL-3.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var REQUIRED_GLOBAL_FIELDS = []string{"exper_name", "exper_nominal_start", "exper_nominal_stop"}
View Source
var REQUIRED_SCHED_SCAN_FIELDS = []string{"start", "source", "station"}
View Source
var REQUIRED_VEX_FIELDS = []string{"$GLOBAL", "$SCHED", "filename", "checksum"}

Functions

func ToTime

func ToTime(vextime string) time.Time

Types

type Object

type Object map[string]interface{}

func Parse

func Parse(canonical, filename string) Object

func (Object) Expand

func (vex Object) Expand(o Object)

func (Object) Sanity

func (vex Object) Sanity() error

sanity check

func (Object) Sites

func (scan Object) Sites() []string

Jump to

Keyboard shortcuts

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