chore: coding style and comments (#1361)
* chore: coding style and comments * chore: optimize `ParseJsonBody` (#1353) * chore: optimize `ParseJsonBody` * chore: optimize `ParseJsonBody` * fix: fix a test * chore: optimize `ParseJsonBody` * fix a test * chore: add comment * chore: refactor Co-authored-by: chenquan <chenquan.dev@foxmail.com>
This commit is contained in:
@@ -21,7 +21,7 @@ func (e env) string() string {
|
||||
w.WriteString(fmt.Sprintf("%s = %q\n", k, v))
|
||||
}
|
||||
|
||||
return strings.TrimSuffix(w.String(),"\n")
|
||||
return strings.TrimSuffix(w.String(), "\n")
|
||||
}
|
||||
|
||||
func getEnv() env {
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
package bug
|
||||
|
||||
const issueTemplate=`
|
||||
const issueTemplate = `
|
||||
<!-- Please answer these questions before submitting your issue. Thanks! -->
|
||||
|
||||
### What category of issue (<code>goctl</code> or <code>sdk</code>)?
|
||||
|
||||
Reference in New Issue
Block a user