summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
30 hoursRegister routes with init()xengineering
This makes the used *mux.Router from github.com/gorilla/mux a global variable. A new router is created in the line where the global variable is created. Handlers can be added across the code base in init() functions.
30 hoursAdd /versionxengineering
30 hoursLog HTTP URLxengineering
3 daysFix stop messagexengineering
3 daysAdd HTTP-based hello worldxengineering
This demonstrates the HTTP server is working.
3 daysAdd github.com/gorilla/mux v1.8.1xengineering
This should be used for the HTTP routing.
3 daysLog start and stop of serverxengineering
3 daysIntroduce run() functionxengineering
This function should be called by main but can also be called by a unit test to run a server which might have different arguments which will likely be added.
3 daysAdd Go hello world programxengineering
This is a starting point to build the server.
3 daysAdd go.mod filexengineering
This makes the repository a Go module which is required to fetch dependencies.
3 daysAdd README.mdxengineering
This explains the purpose of the project.
3 daysAdd Mozilla Public License 2.0xengineering