We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
type Status int const ( StatusBeg Status = iota // 开始 StatusProcessing // 流程中 StatusPass // 通过 StatusReject // 拒绝 StatusEnd // 结束 // StatusDefault // "默认返回的内容" ) func GetStatusDesc(status int) string { switch Status(status) { case StatusBeg: return "开始" case StatusProcessing: return "流程中" case StatusPass: return "通过" case StatusReject: return "拒绝" case StatusEnd: return "结束" default: return "默认返回的内容" } }
The text was updated successfully, but these errors were encountered:
jinfeijie
No branches or pull requests
The text was updated successfully, but these errors were encountered: