command
module
Version:
v0.0.0-...-64f37e8
Opens a new window with list of versions in this module.
Published: Nov 29, 2022
License: MIT
Opens a new window with license information.
Imports: 8
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
¶
Guessing-Game
Golang simple Guessing game
Usage
go run main.go
listened at http://localhost:8000/
-
Backend Task
-
API endpoints
-
/login
-
/guess
-
✅ Access to this endpoint needed to be authenticated via token returned from login
-
✅ Guess the hidden number - if correct, return HTTP 201 and regenerate the number
-
bonus
-
✅ Use of middleware for authentication
-
✅ If we wanted to hide the guess data by not using GET, can we use other method to do so (POST)
Documentation
¶
There is no documentation for this package.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.