🎨 改进代码样式

This commit is contained in:
github-actions[bot] 2022-03-26 14:03:46 +00:00
parent 82768fff59
commit 901e680fa4
2 changed files with 3 additions and 3 deletions

View File

@ -97,7 +97,7 @@ func init() { // 插件主体
}
// notnull 如果传入文本为空,则返回默认值
//nolint: unparam
func notnull(text, defstr string) string {
if text == "" {
return defstr