bump 1.0.0 and add status screenshot.
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
package gopush
|
||||
|
||||
const (
|
||||
Version = "0.0.1"
|
||||
Version = "1.0.0"
|
||||
)
|
||||
|
||||
const (
|
||||
|
||||
@@ -16,7 +16,7 @@ func PrintGoPushVersion() {
|
||||
func VersionMiddleware() gin.HandlerFunc {
|
||||
// Set out header value for each response
|
||||
return func(c *gin.Context) {
|
||||
c.Writer.Header().Set("Server-Version", "GoPush "+Version)
|
||||
c.Writer.Header().Set("Server-Version", "GoPush/"+Version)
|
||||
c.Next()
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user