func NewTimeResolver() (*TimeResolver, error) {
	bt, err := host.BootTime()
	if err != nil {
		return nil, err
	}
	tr := TimeResolver{
		bootTime: time.Unix(int64(bt), 0),
	}
	return &tr, nil
}
// NewTimeResolver returns a new time resolver
NewTimeResolver returns a new time resolver
// NewTimeResolver returns a new time resolver
func NewTimeResolver() (*TimeResolver, error) {
	bt, err := host.BootTime()
	if err != nil {
		return nil, err
	}
	tr := TimeResolver{
		bootTime: time.Unix(int64(bt), 0),
	}
	return &tr, nil
}
func NewTimeResolver ( ) ( * TimeResolver , error ) { bt , err := host . BootTime ( ) if err != nil { return nil , err } tr := TimeResolver { bootTime : time . Unix ( int64 ( bt ) , 0 ) , } return & tr , nil }
NewTimeResolver returns a new time resolver
NewTimeResolver returns a new time resolver