World Conquest Chronicles

World Conquest Chronicles

go-link-shortener-backend, v1.10

Back-end of the service for shorting links.

Improve the distributing and the documentation, and perform the refactoring.

Change Log

  • refactoring:
    • simplify the handlers package:
      • move to the gateways package;
      • merge with the router package;
      • simplify the handlers.NewRouter() function;
    • update the github.com/thewizardplusplus/go-http-utils package:
      • use the httputils.ReadJSON() function;
      • use the httputils.WriteJSON() function;
      • use the httputils.ParsePathParameter() function;
  • distributing:
  • add the API description in the format of a Postman collection.

Repository

Link: https://github.com/thewizardplusplus/go-link-shortener-backend/tree/v1.10.

Content: code.

License: MIT.