You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
12 lines
316 B
12 lines
316 B
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
|
|
}
|