You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: format.go
    path of file: ./repos/erda/tools/cli/utils
    
    the code of the file until where you have to start completion: // Copyright (c) 2021 Terminus, Inc.
//
// Licensed
    
func Time(t interface{}) string {
	var p time.Time
	var err error
	switch v := t.(type) {
	case string:
		p, err = time.Parse(time.RFC3339, v)
		if err != nil {
			p, err = time.Parse("2006-01-02T15:04:05Z0700", v)
			if err != nil {
				return v
			}
		}
	case time.Time:
		p = v
	case *time.Time:
		p = *v
	default:
		return fmt.Sprintf("%v", t)
	}

	return readable_time.Readable(p).String()
}