feat: add ToBigInt

This commit is contained in:
dudaodong committed 2024-12-02 11:25:16 +08:00
1 parent 8f3ea60636
commit 7fb49515ce
7 files changed
+217 -61

No files matched your search

+9
View File
@@ -571,3 +571,12 @@ func ExampleToRawUrlBase64() {
// dHJ1ZQ
// ZXJy
}
func ExampleToBigInt() {
n := 9876543210
bigInt, _ := ToBigInt(n)
fmt.Println(bigInt)
// Output:
// 9876543210
}