fix typo
This commit is contained in:
parent
fb604223fb
commit
fc157aa484
|
@ -90,14 +90,14 @@ type activity struct {
|
|||
earlyFinish float64
|
||||
lateStart float64
|
||||
lateFinish float64
|
||||
slack float64
|
||||
slack float64
|
||||
}
|
||||
|
||||
func (a *activity) Attributes() []encoding.Attribute {
|
||||
return []encoding.Attribute{
|
||||
{"DUR", strconv.FormatFloat(a.duration, 'g', -1, 64)},
|
||||
{"ES", strconv.FormatFloat(a.earlyStart, 'g', -1, 64)},
|
||||
{"EF", strconv.FormatFloat(a.earlyStart, 'g', -1, 64)},
|
||||
{"EF", strconv.FormatFloat(a.earlyFinish, 'g', -1, 64)},
|
||||
{"LS", strconv.FormatFloat(a.lateStart, 'g', -1, 64)},
|
||||
{"LF", strconv.FormatFloat(a.lateFinish, 'g', -1, 64)},
|
||||
{"SLACK", strconv.FormatFloat(a.slack, 'g', -1, 64)},
|
||||
|
|
Loading…
Reference in New Issue