From 0b2a3bfe5e48e866ffcd5fb278fe83decdf64c44 Mon Sep 17 00:00:00 2001 From: rn-h Date: Thu, 23 May 2024 15:50:54 +0800 Subject: [PATCH] Remove required description --- main.go | 1 + opt/app.go | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/main.go b/main.go index acfa6cd..40b90cd 100644 --- a/main.go +++ b/main.go @@ -8,6 +8,7 @@ import ( ) func main() { + fmt.Println("code-push-go V1.0.2") var args []string var notargs []string diff --git a/opt/app.go b/opt/app.go index 824aff7..4c32f7b 100644 --- a/opt/app.go +++ b/opt/app.go @@ -283,7 +283,7 @@ type createBundleReq struct { Version *string `json:"version" binding:"required"` Size *int64 `json:"size" binding:"required"` Hash *string `json:"hash" binding:"required"` - Description *string `json:"description" binding:"required"` + Description *string `json:"description"` } func (a App) App(arge []string) {