update text.

Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
This commit is contained in:
Bo-Yi Wu 2016-03-28 00:04:01 +08:00
parent 0468f4cff0
commit c655a9bf07
1 changed files with 2 additions and 2 deletions

View File

@ -18,7 +18,7 @@ func AbortWithError(c *gin.Context, code int, message string) {
func rootHandler(c *gin.Context) { func rootHandler(c *gin.Context) {
c.JSON(http.StatusOK, gin.H{ c.JSON(http.StatusOK, gin.H{
"text": "Welcome to golang push server.", "text": "Welcome to notification server.",
}) })
} }
@ -35,7 +35,7 @@ func pushHandler(c *gin.Context) {
pushNotification(form) pushNotification(form)
c.JSON(http.StatusOK, gin.H{ c.JSON(http.StatusOK, gin.H{
"text": "Welcome to golang push server.", "text": "Welcome to notification server.",
}) })
} }