Dynamically sized Type in golang
The size(N) of the array is unknown in advance, the value is retrieved dynamically in the process of accessing a third-party service, how can such a slice be created?
golang net/http requests returns 404 for every route except health route
I am new to golang and I wanted to implement a http server using the in built net/http package. I was able to implement a health route for my webserver. Then I tried creating handler for my user controller but it didnt work and I aslways got the response as