func TimeWithoutWall(t time.Time) time.Time {
	text := t.Format(time.RFC3339)
	time, err := time.Parse(time.RFC3339, text)
	if err != nil {
		panic(fmt.Sprintf("Impossible to unmarshall text: '%s'", text))
	}

	return time
}
// TimeWithoutWall fixes the `wall` issue in unit tests.
// THIS FUNCTION SHOULD NOT BE USED OUTSIDE OF TESTS.
// Unstructured serializes time to string in RFC3339 without Nano seconds.
// when it's parsed back, the Go time.Time does not have the `wall` field as it's used for nanosecs.
TimeWithoutWall fixes the `wall` issue in unit tests.
THIS FUNCTION SHOULD NOT BE USED OUTSIDE OF TESTS.
Unstructured serializes time to string in RFC3339 without Nano seconds.
when it's parsed back, the Go time.Time does not have the `wall` field as it's used for nanosecs.
// TimeWithoutWall fixes the ` wall ` issue in unit tests . // THIS FUNCTION SHOULD NOT BE USED OUTSIDE OF TESTS . // Unstructured serializes time to string in RFC3339 without Nano seconds . // when it ' s parsed back the Go time . Time does not have the ` wall ` field as it ' s used for nanosecs .
func TimeWithoutWall(t time.Time) time.Time {
	text := t.Format(time.RFC3339)
	time, err := time.Parse(time.RFC3339, text)
	if err != nil {
		panic(fmt.Sprintf("Impossible to unmarshall text: '%s'", text))
	}
	return time
}
func TimeWithoutWall ( t time . Time ) time . Time { text := t . Format ( time . RFC3339 ) time , err := time . Parse ( time . RFC3339 , text ) if err != nil { panic ( fmt . Sprintf ( " " , text ) ) } return time }
TimeWithoutWall fixes the `wall` issue in unit tests.
TimeWithoutWall fixes the ` wall ` issue in unit tests .