Skip to content
New issue

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

fix(util/gconv): if the value of a string is null, the value of string is nil after the string is converted to []string #3468

Merged
merged 1 commit into from
Apr 10, 2024

Conversation

wln32
Copy link
Member

@wln32 wln32 commented Apr 10, 2024

修复以下问题:

1.当字符串的值为null时,调用gconv.Strings("null") 会返回nil

…is nil after the string is converted to []string
@wln32 wln32 requested a review from gqcn April 10, 2024 01:15
@wln32 wln32 linked an issue Apr 10, 2024 that may be closed by this pull request
4 tasks
@gqcn gqcn merged commit d7a0482 into gogf:master Apr 10, 2024
23 checks passed
@wln32 wln32 deleted the fix/gconv-nullstring branch April 10, 2024 12:49
@gqcn gqcn changed the title fix: #3465 If the value of a string is null, the value of string is nil after the string is converted to []string fix(util/gconv): #3465 if the value of a string is null, the value of string is nil after the string is converted to []string Jun 27, 2024
@gqcn gqcn changed the title fix(util/gconv): #3465 if the value of a string is null, the value of string is nil after the string is converted to []string fix(util/gconv): if the value of a string is null, the value of string is nil after the string is converted to []string Nov 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

string “NULL” in Query will treated as nil in STD router StructReq
2 participants