go: add Values type
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
surtur 2022-06-15 23:29:28 +02:00
parent 5388aeb8c9
commit 8b1e496c10
Signed by: wanderer
GPG Key ID: 19CE1EC1D9E0486D

View File

@ -8,6 +8,10 @@
"sync"
)
// Values type is just a fancy named []float64 that will allow us to define
// methods over it.
type Values []float64
// DoRandomSearch executes a search using the 'Random search' method.
func DoRandomSearch(wg *sync.WaitGroup) {
defer wg.Done()