Skip to content

Commit

Permalink
added docs for custom port
Browse files Browse the repository at this point in the history
  • Loading branch information
viveksahu26 committed Sep 15, 2022
1 parent 061231a commit 2b6041a
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,12 @@ The advantage of saving Short URL and Long URL in the file is to retrieved that
3) Execute main program.

`go run main.go`

You can provide your custom port

`go run main.go 5000`

*NOTE:*: Make sure that Port 8080 is free. For customize port you need to make changes in the codebase.
*NOTE:*: Make sure that Port 8080 is free. By defaul Port is 8080. But you can customize accordingly by passing port number after command(go run main.go).

4) Check the health of program

Expand Down

0 comments on commit 2b6041a

Please sign in to comment.