后端开发 Golang iota 配合 iota * 1000 做业务错误码体系 用 iota * 1000 可清晰划分模块错误码段,如 UserErrBase=0、OrderErrBase= […]...