Go Class Scheduling tutorial confusion?

I’m a bit confused following the Go Class Scheduling tutorial. It says:

The CreateOrOpen() function returns a subspace

In the code above, doesn’t CreateOrOpen() return a Directory called schedulingDir?

Thank you for a great product! We’re excited at Roland Corp to trial it, especially when gRPC (hopefully) arrives in v7.


The return value of CreateOrOpen is of type DirectorySubspace, which means it’s actually both a subspace and a directory. It’s probably not a bad idea to make that clearer in this text.

Ah, thank you for the prompt clarification.