SpecReader

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Mar 13, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Blip

type Blip struct {
	Name        string `csv:"name"`
	Quadrant    string `csv:"quadrant"`
	Ring        string `csv:"ring"`
	IsNew       bool   `csv:"isNew"`
	Moved       int8   `csv:"moved"`
	Description string `csv:"description"`
}

type Blips

type Blips struct {
	Blips []Blip
}

func ReadCsvSpec

func ReadCsvSpec(filePath string) Blips

Read csv spec file and create Blips from that Code inspired from: https://stackoverflow.com/questions/20768511/unmarshal-csv-record-into-struct-in-go

Jump to

Keyboard shortcuts

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