go(report): add Bench field to Pic type
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
1ec7a62281
commit
6692a4e778
@ -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.
|
||||||
|
Loading…
Reference in New Issue
Block a user