init
This commit is contained in:
commit
fa47df6d89
22 changed files with 1724 additions and 0 deletions
11
model/slices.go
Normal file
11
model/slices.go
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
package model
|
||||
|
||||
type Slice struct {
|
||||
Name string
|
||||
StartTime float64
|
||||
EndTime float64
|
||||
}
|
||||
|
||||
func (s Slice) Len() float64 {
|
||||
return s.EndTime - s.StartTime
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue