add initial application structure with configuration, logging, and health check endpoints

This commit is contained in:
kever
2026-01-15 22:11:33 +08:00
parent ed8c3d55b8
commit fe67f09e72
19 changed files with 333 additions and 318 deletions

View File

@@ -1,5 +0,0 @@
package dto
type HealthRequest struct {
Ping string `json:"ping"`
}

View File

@@ -19,8 +19,8 @@ type HeroCreateRequest struct {
Attribute *string `json:"attribute"`
Remark *string `json:"remark"`
RawJSON *string `json:"rawJson"`
SetContentJSON *string `json:"setContentJson"`
SetUpdateTime *time.Time `json:"setUpdateTime"`
ContentJSONSet *string `json:"contentJsonSet"`
UpdateTimeSet *time.Time `json:"updateTimeSet"`
}
type HeroUpdateRequest struct {
@@ -38,6 +38,6 @@ type HeroUpdateRequest struct {
Attribute *string `json:"attribute"`
Remark *string `json:"remark"`
RawJSON *string `json:"rawJson"`
SetContentJSON *string `json:"setContentJson"`
SetUpdateTime *time.Time `json:"setUpdateTime"`
ContentJSONSet *string `json:"contentJsonSet"`
UpdateTimeSet *time.Time `json:"updateTimeSet"`
}