Skip to content

Consistent styling across README#2541

Open
mikomikotaishi wants to merge 1 commit into
drogonframework:masterfrom
mikomikotaishi:master
Open

Consistent styling across README#2541
mikomikotaishi wants to merge 1 commit into
drogonframework:masterfrom
mikomikotaishi:master

Conversation

@mikomikotaishi

@mikomikotaishi mikomikotaishi commented Jul 15, 2026

Copy link
Copy Markdown

This PR makes styling in the README files more consistent:

  • Add missing whitespace, such as between function parameters, between assignment operators, and between comment lines
  • Remove the drogon:: prefix (when it is already imported by using namespace drogon;)
  • Capitalise HTTP, HTTPS, JSON, HTML, WebSocket
  • Label classes in monospace (such as HttpController, HttpSimpleController, etc.)
  • Clearly indicate HttpResponse::newHttpJsonResponse() as returning HttpResponsePtr
  • Use concise namespace declarations (namespace api { namespace v1 { /* ... */ } } -> namespace api::v1 { /* ... */ }), as the library is minimum C++17

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant