Would it be possible to make a map showing the name of the subject, the name of the teacher, and the time of the class? I don’t know what type of type shows a time.
There is no map[string]string string (if I read you right).
If you want to throw some string representation into a map[string]string, its like this:
m := make(map[string]string)
m["date"] = "2018-01-01"
But you really rarely want that.
Also that wouldn’t suit your data, which seemed to map a courses name to its teacher in the map. If you put the date in there, it would look like a “course” named date, taught by “2018-01-01”.
As I said, you probably want to rething your datastructure.