parsejson

package
v0.0.0-...-4152e03 Latest Latest
Warning

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

Go to latest
Published: May 5, 2022 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BuildingSet

func BuildingSet(data Info) map[string]bool

buildingSet: creates a set with only buildings

func JSONGo

func JSONGo(filename string, data *Info)

JSONGo: reads and unmarhsals a json file to an object reference

func ListRooms

func ListRooms(data Info, building string) []string

listRooms: list rooms that are used as classrooms from a building

Types

type Detail

type Detail struct {
	Key        string `json:"key"`
	Title      string `json:"title"`
	Time       string `json:"time"`
	Instructor string `json:"instructor"`
}

Structures

type Info

type Info map[string]map[string]map[string][]Detail

Info -> Building: Room: Day: Details

Jump to

Keyboard shortcuts

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