Files
go-easy-utils/mathx/abs_example_test.go
2025-07-08 15:26:54 +08:00

16 lines
148 B
Go

package mathx
import "fmt"
func ExampleAbs() {
res1 := Abs(-6)
res2 := Abs(9)
fmt.Println(res1)
fmt.Println(res2)
// Output:
// 6
// 9
}