This is the template to use for the golang commercial controller. You will find the classes that should be used along with some methods described in the requirements. The necessary files to run some tests are also included.


With golang installed on your computer, all you need to do is initialize the module:

go mod init Rocket-Elevators-Commercial-Controller

The code to run the scenarios is included, and can be executed with:


Running the tests

To launch the tests:

go test

With a fully completed project, you should get an output like:

Screenshot from 2021-06-15 15-25-10

The test and scenarios files can be left in your final project. The grader will run tests similar to the ones provided.

Of course, make sure to edit this Readme file to describe your own project!


View Github