/parking-lot

command based parking lot application

Primary LanguageGo

Command based parking lot system

Parking lot system that takes file for eg : input.txt as input commands. processes the instructions like Park, Leave etc. and outputs the job completion in output.txt.

Prerequisites

Installed golang in system. No framework required.

Working and start up

  1. Run go run main.go
  2. Enter the file name for eg : input.txt Alt text
  3. Check the output in output.txt

Unit tests

  1. Run go test github.com/bron10/parking-lot/packages

Architecture.

Following is the basic architecture Alt text

ToDo

  • dockerFile
  • Optimizations