/go-pwd-cd-ls

First go project

Primary LanguageGo

go-pwd-cd-ls

Task

Create a service with 3 endpoints listening to GET requests:

  • /pwd - returns current path
  • /cd?dir=<dir> - changes current path to
  • /ls - returns contents of current path