func (ts TimestampSlice) Len() int {
	return len(ts)
}
Len is part of sort.Interface
package types
import (
	"time"
)
type (
	Timestamp uint64
	TimestampSlice []Timestamp
)
func CurrentTimestamp() Timestamp {
	return Timestamp(time.Now().Unix())
}