Files
go-easy-utils/intUtil/int_x_to_str_example_test.go
jeffery e9cc195c39 Feature/example test (#24)
example docs
2023-04-12 15:09:44 +08:00

54 lines
527 B
Go

package intUtil
import "fmt"
func ExampleIntToStr() {
i := 123
res := IntToStr(i)
fmt.Println(res)
// Output:
// 123
}
func ExampleInt8ToStr() {
i := 123
res := IntToStr(i)
fmt.Println(res)
// Output:
// 123
}
func ExampleInt16ToStr() {
i := 123
res := IntToStr(i)
fmt.Println(res)
// Output:
// 123
}
func ExampleInt32ToStr() {
i := 123
res := IntToStr(i)
fmt.Println(res)
// Output:
// 123
}
func ExampleInt64ToStr() {
i := 123
res := IntToStr(i)
fmt.Println(res)
// Output:
// 123
}