Go-Swagger help needed

Hello everyone,

I am relatively new to Golang and just finished the specialization on Coursera for Golang. I am trying to use Go-Swagger to do the following:

write a swagger.yml file with the specification of your endpoint, request and response (ex: http://localhost:8080/api/v1/repos)

-id, name, full_name with owner --> login, url , html_url
-Generate the server code using above written swagger.yml file
-You need to write the business logic to get the information from github repositories and return the response to the client
-write unit tests for your code
-Test coverage must be more than 80%

I am super confused by these instructions and where to begin with I know it is supposed to be a Simple program that creates a Swagger server, access the endpoint containing the JSON, parses data and retrieves only necessary information, and prints to a provided endpoint

-I need help/clarification on where to start and how to commence. Thanks!

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.