cleanup: Update deprecated FromInt to FromInt32 (#119858)

* redo commit

* apply suggestions from liggitt

* update Parse function based on suggestions
This commit is contained in:
git-jxj
2023-08-17 00:33:01 +08:00
committed by GitHub
parent c5a675808b
commit a5b3a4b738
35 changed files with 91 additions and 91 deletions

View File

@@ -35,7 +35,7 @@ import (
)
func intOrStrP(val int) *intstr.IntOrString {
intOrStr := intstr.FromInt(val)
intOrStr := intstr.FromInt32(int32(val))
return &intOrStr
}