1
0
mirror of https://github.com/charlienet/go-mixed.git synced 2025-07-18 00:22:41 +08:00
This commit is contained in:
2022-03-29 10:39:39 +08:00
parent 7eb426e5b2
commit 1c4f84d765
2 changed files with 18 additions and 0 deletions

9
expr/expr_test.go Normal file
View File

@ -0,0 +1,9 @@
package expr
import "testing"
func TestIf(t *testing.T) {
v1 := 10
v2 := 4
t.Log(If(v1 > v2, v1, v2))
}