go(report): add Bench field to Pic type
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
surtur 2022-07-27 17:45:07 +02:00
parent 1ec7a62281
commit 6692a4e778
Signed by: wanderer
GPG Key ID: 19CE1EC1D9E0486D

@ -15,9 +15,12 @@ import (
) )
// Pic holds path to pic along with its caption. // Pic holds path to pic along with its caption.
// Bench field is set optionally (e.g. in case of the pic depicting
// comparison of means).
type Pic struct { type Pic struct {
Caption string Caption string
FilePath string FilePath string
Bench string // optionally set.
} }
// PicList is a structure holding a slice of pics and {bench,algo} metadata. // PicList is a structure holding a slice of pics and {bench,algo} metadata.