cmd

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Oct 15, 2023 License: MIT Imports: 8 Imported by: 0

Documentation

Overview

Copyright © 2023 NAME HERE <EMAIL ADDRESS>

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Execute

func Execute()

Execute adds all child commands to the root command and sets flags appropriately. This is called by main.main(). It only needs to happen once to the rootCmd.

Types

type Course

type Course struct {
	Name         string `json:"name"`
	Abbreviation string `json:"abbreviation"`
	Teacher      string `json:"teacher"`
}

type Semester

type Semester struct {
	Name    string       `json:"name"`
	Years   []string     `json:"years"`
	Type    SemesterType `json:"type"`
	Courses []Course     `json:"courses"`
}

type SemesterType

type SemesterType string
const (
	SummerSemester SemesterType = "SoSe"
	WinterSemester SemesterType = "WiSe"
)

Jump to

Keyboard shortcuts

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