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 }