Documentation
¶
Index ¶
Constants ¶
Variables ¶
This section is empty.
Functions ¶
func RenderError ¶
Types ¶
type RepeatSection ¶
type Result ¶
type Result struct {
// shakespeare version used to produce the result.
Version string
// Play title
Title string
// Play author(s)
Authors string
// "See also" strings.
SeeAlso []string
// Whether a foul was detected.
Foul bool
// The rendered error object.
Error string
// The timestamp of the start of the experiment in standard format.
Timestamp string
// The timestamp in human format.
TimestampHTML string
// Duration in seconds.
PlayDuration float64
// Duration represented as string.
PlayDurationVerbose string
// Time boundaries
MinTime float64
MaxTime float64
// The full config string.
Config string
// The config hash (FNV 32-bit).
ConfigHash uint32
// The config hash in a human-friendly form (easy to read aloud).
ConfigHashHTML string
// The prettty-printed config string.
ConfigHTML string
// The compiled script.
Steps string
// The pretty-printed compiled script.
StepsHTML string
// Repeat section if any.
Repeat *RepeatSection
// Artifacts.
Artifacts []Artifact
// Diffs.
Diffs []string
}
Click to show internal directories.
Click to hide internal directories.