Build Ginkgo binary

Signed-off-by: Dave Chen <dave.chen@arm.com>
This commit is contained in:
Dave Chen
2022-03-29 22:24:39 +08:00
parent ece0bb3522
commit 375b2a5fb2
74 changed files with 11223 additions and 8 deletions

12
vendor/github.com/go-task/slim-sprig/network.go generated vendored Normal file
View File

@@ -0,0 +1,12 @@
package sprig
import (
"math/rand"
"net"
)
func getHostByName(name string) string {
addrs, _ := net.LookupHost(name)
//TODO: add error handing when release v3 comes out
return addrs[rand.Intn(len(addrs))]
}