Feat(ktm-booking): Initial commit
Some checks failed
ktm-booking-bot/ktm-booking-bot/pipeline/head Something is wrong with the build of this commit
Some checks failed
ktm-booking-bot/ktm-booking-bot/pipeline/head Something is wrong with the build of this commit
This commit is contained in:
12
backend/internal/ktmtrainbot/servertimeresponsemodel.go
Normal file
12
backend/internal/ktmtrainbot/servertimeresponsemodel.go
Normal file
@@ -0,0 +1,12 @@
|
||||
package ktmtrainbot
|
||||
|
||||
import "net/http"
|
||||
|
||||
type ServerTimeResponse struct {
|
||||
ServerLocalTime string `json:"serverLocalTime"`
|
||||
}
|
||||
|
||||
func (serverTimeResponse *ServerTimeResponse) Render(w http.ResponseWriter, r *http.Request) error {
|
||||
// Pre-processing before a response is marshalled and sent across the wire
|
||||
return nil
|
||||
}
|
||||
Reference in New Issue
Block a user