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
gomod go get installed, version gocloc \ @ v0.3.1 Comprehensive code is regarded as a comment after return "/*" in go code
return "/*"
gomod go get安装,版本gocloc@v0.3.1 在go代码中return "/*" 后全面代码算为注释
// getRouteByName 函数使用函数名称生成路由路径。 func getRouteByName(name string) string { names := splitName(name) if checkAllowMethod(names[0]) { names = names[1:] } if len(names) == 0 { return "/*" } name = "" for i := 0; i < len(names); i++ { if names[i] == "By" { name = name + "/:" + names[i+1] i++ } else { name = name + "/" + names[i] } } return strings.ToLower(name) }
The text was updated successfully, but these errors were encountered:
hhatto
No branches or pull requests
gomod go get installed, version gocloc \ @ v0.3.1
Comprehensive code is regarded as a comment after
return "/*"
in go codegomod go get安装,版本gocloc@v0.3.1
在go代码中
return "/*"
后全面代码算为注释The text was updated successfully, but these errors were encountered: