gorig-cli 1.0.11 → 1.0.12

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gorig-cli",
3
- "version": "1.0.11",
3
+ "version": "1.0.12",
4
4
  "type": "module",
5
5
  "description": "gorig build tool",
6
6
  "main": "bin/cli.js",
@@ -23,7 +23,7 @@ api:
23
23
  #Mysql:
24
24
  # Main:
25
25
  # GormInit: 1
26
- # SlowThreshold: 30 # SQL 阈值(sql执行时间超过此时间单位(秒),就会触发系统日志记录)
26
+ # SlowThreshold: 30 # Slow SQL threshold (sysql execution time exceeds this time unit (second), system logging will be triggered)
27
27
  # Write:
28
28
  # Host: addr
29
29
  # DataBase: db_name
@@ -33,7 +33,7 @@ api:
33
33
  # Charset: "utf8"
34
34
  # SetMaxIdleConns: 10
35
35
  # SetMaxOpenConns: 128
36
- # SetConnMaxLifetime: 60 # 连接不活动时的最大生存时间()
36
+ # SetConnMaxLifetime: 60 # Maximum survival time when connection is inactive (seconds)
37
37
 
38
38
  #redis:
39
39
  # addr: localhost:6379
@@ -12,6 +12,5 @@ func test() {
12
12
  }
13
13
 
14
14
  func init() {
15
- // 每隔10s运行
16
15
  cronx.AddTask("*/10 * * * * *", test)
17
16
  }