Files
vRp.CD2g_test/utils/super/parse.go
kercylan98 7e7a504421 feat: 重构 config 和 configexport 包
- 配置加载包 config 更名为 configuration
- 配置导出包 configexport 更名为 pce
- 重构
config 包加载方式,采用加载器的方式,并且支持多加载器
- 重构 configexport
包,支持通过实现模板的方式导出不同格式的数据文件及结构文件
2023-07-17 13:28:17 +08:00

10 lines
151 B
Go

package super
import "strconv"
// StringToInt 字符串转换为整数
func StringToInt(value string) int {
i, _ := strconv.Atoi(value)
return i
}