package util // IsNonEmptyString 判断字符串指针不为 nil 且不为空 func IsNonEmptyString(s *string) bool { return s != nil && *s != "" }