Skip to content
Snippets Groups Projects
Commit ba5a2833 authored by Andrej Rasevic's avatar Andrej Rasevic
Browse files

exercise clatifications

parent 0f37dc7e
No related branches found
No related tags found
No related merge requests found
......@@ -18,8 +18,13 @@ Details:
* logs - output the log of all of your session requests
* additionally your CLI should provide the user Usage information similar to the functionality in exercise 2
2. Inside of __client.go__ you will implement all of your http client handlers as well as the persistence of the results of your network calls to a file on your file system. You need to handle the possible errors of any failed network call and store those results as well.
2. Inside of __client.go__ you will implement all of your http client handlers as well as the persistence of the results of your network calls to a file on your file system. You need to store the repsonse data in the logs in JSON format. (See exercise 2 for help). Feel free to define any structs you need to impelment this functionality. You need to handle the possible errors of any failed network call and store those results as well.
__Hint__ : The logs only need to store the following fields:
* request type (GET, POST, PUT or DELETE)
* endpoint you tried to hit
* success or failure
The response of your network calls should still print out to STDOUT.
To deliver your submission you will need to commit your changes locally and push to your repo on the university gitlab server.
__NOTE__: You should not commit any executables or binaries as a result of compiling and building your application.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment