Skip to content

解决 methodArgs: { type: "[]int", value: ["a", "b"] } 转换类型失败

Compare
Choose a tag to compare
@TommyLemon TommyLemon released this 08 Apr 15:43
· 3 commits to main since this release

解决 methodArgs: { type: "[]int", value: ["a", "b"] } 转换类型失败,因为 fmt.Sprint(["a", "b"]) 结果是 "[a, b]"