func NewDuration(duration time.Duration) Duration {
	return Duration{Duration: duration}
}
NewDuration creates a Duration from time.Duration.
package typeutil
import (
	"fmt"
	"strconv"
	"time"
	"github.com/pingcap/errors"
)
type Duration struct {
	time.Duration
}