feat:完善项目

This commit is contained in:
henry
2021-11-15 17:32:23 +08:00
parent f5e2063685
commit 78128277ff
27 changed files with 717 additions and 105 deletions

View File

@ -1,8 +1,10 @@
package utils
import (
"fmt"
"reflect"
"testing"
"time"
)
const (
@ -12,13 +14,20 @@ const (
)
func TestArrayFlip(t *testing.T) {
//flip := []uint64{1, 2, 3, 4}
//out := ArrayFlip(flip)
//t.Logf("out%v\n", out)
d := a & b & c
t.Log(d)
////flip := []uint64{1, 2, 3, 4}
////out := ArrayFlip(flip)
////t.Logf("out%v\n", out)
//
//d := a & b & c
//t.Log(d)
list := []int{1, 2, 3}
for _, v := range list {
go func() {
fmt.Printf("%d\n", v)
}()
time.Sleep(1 * time.Second)
}
}
func TestArrayStrings(t *testing.T) {