Small refactoring into modules.

This commit is contained in:
Tomasz Półgrabia 2024-07-06 15:39:34 +02:00
parent 6b50fca7e6
commit 24db5aa3a6
3 changed files with 82 additions and 74 deletions

View file

@ -0,0 +1,17 @@
package handlers
type PersonRequest struct {
Name string
Age int
}
type PersonResponse struct {
Greeting string
Errors string
}
type StatusResponse struct {
StartDateTime string
UpTime string
Status string
}