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

chore(util/gvalid): using 64 instead of 10 bitsize parameter for function strconv.ParseFloat although it treats 10 as 64 internally #4154

Merged
merged 2 commits into from
Feb 20, 2025

Conversation

ansionfor
Copy link
Member

when I run staticcheck ./... in util dir it show warning message:
gvalid/internal/builtin/builtin_between.go:42:64: 'bitSize' argument is invalid, must be either 32 or 64 (SA1030)

@ansionfor ansionfor requested a review from gqcn February 17, 2025 03:16
@gqcn gqcn changed the title fix(util/gvalid):fix strconv parsefloat params fix(util/gvalid): using 64 instead of 10 bitsize parameter for function strconv.ParseFloat although it treats 10 as 64 internally Feb 20, 2025
@gqcn gqcn changed the title fix(util/gvalid): using 64 instead of 10 bitsize parameter for function strconv.ParseFloat although it treats 10 as 64 internally chore(util/gvalid): using 64 instead of 10 bitsize parameter for function strconv.ParseFloat although it treats 10 as 64 internally Feb 20, 2025
@gqcn gqcn merged commit 2fa0355 into gogf:master Feb 20, 2025
17 checks passed
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.

2 participants