lib

package
v0.0.0-...-92a2111 Latest Latest
Warning

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

Go to latest
Published: Mar 29, 2022 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Check

func Check(err error)

func JSONGo

func JSONGo(filename string, data *Info)

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

func NavBar() []string

func POSTRESPONSE

func POSTRESPONSE(w http.ResponseWriter, rawjson []byte)

Types

type Detail

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

type Info

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

Info -> Building: Room: Day: Details

type InfoBlock

type InfoBlock struct {
	Building string `json:"building"`
	Num      string `json:"num"`
	Abbrev   string `json:"abbrev"`
}

func JsonInfo

func JsonInfo() []InfoBlock

type Room

type Room struct {
	Room  string
	Times []string
}

Jump to

Keyboard shortcuts

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