refactor: rename src folder with app

This commit is contained in:
Juan Rodriguez
2024-05-13 08:11:07 +02:00
parent e4ae0c2ac4
commit 9564559610
15 changed files with 26 additions and 12 deletions
+10
View File
@@ -0,0 +1,10 @@
require "../lib/controller.cr"
module App::Controllers::Ping
class Get < App::Lib::BaseController
def call(env)
response = {"pong" => "ok"}
response.to_json
end
end
end