loader

package
v0.0.0-...-65d0b4a Latest Latest
Warning

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

Go to latest
Published: Feb 26, 2022 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Loader

type Loader struct {
}

Loader : Loads a JSON file containing the solar system

func NewLoader

func NewLoader() *Loader

NewLoader : Create a new loader

func (*Loader) Load

func (l *Loader) Load() (solar *data.SolarSystem, err error)

Load : Loads the solar system from JSON

Jump to

Keyboard shortcuts

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