chore(go): comment exported symbols
Some checks failed
continuous-integration/drone/push Build is failing
continuous-integration/drone Build is passing

This commit is contained in:
leo 2022-12-27 01:04:55 +01:00
parent 68b14f9960
commit 67eca7253b
Signed by: wanderer
SSH Key Fingerprint: SHA256:Dp8+iwKHSlrMEHzE3bJnPng70I7LEsa3IJXRH/U+idQ
2 changed files with 4 additions and 0 deletions

@ -45,6 +45,9 @@ func GetMeanStats() *stats.MeanStats {
return meanStats return meanStats
} }
// PrepComparisonOfMeans returns a pointer to a slice of pics (of type
// report.PicList) and an integer - the count of unique benchmarking functions
// used.
func PrepComparisonOfMeans(wg *sync.WaitGroup) (*report.PicList, int) { func PrepComparisonOfMeans(wg *sync.WaitGroup) (*report.PicList, int) {
pL := report.NewPicList() pL := report.NewPicList()
meanStats := GetMeanStats() meanStats := GetMeanStats()

@ -13,6 +13,7 @@ var Functions = map[string]func([]float64) float64{
"De Jong 2nd": DeJong2nd, "De Jong 2nd": DeJong2nd,
} }
// FuncNames represents a numbered list of function name.
var FuncNames = map[int]string{ var FuncNames = map[int]string{
0: "Schwefel", 0: "Schwefel",
1: "De Jong 1st", 1: "De Jong 1st",