增加是否有效数组判断
This commit is contained in:
18
array_test.go
Normal file
18
array_test.go
Normal file
@ -0,0 +1,18 @@
|
||||
// Package wrapper ...
|
||||
//
|
||||
// Description : wrapper ...
|
||||
//
|
||||
// Author : go_developer@163.com<白茶清欢>
|
||||
//
|
||||
// Date : 2023-06-11 21:12
|
||||
package wrapper
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
"testing"
|
||||
)
|
||||
|
||||
func TestArray(t *testing.T) {
|
||||
val := []int64{1, 2, 3}
|
||||
fmt.Println(Array(val).IsValid())
|
||||
}
|
Reference in New Issue
Block a user