func (rec *Record) Render(out http.ResponseWriter, inPath string) {
	mtime := "<unknown>"
	ts, err := time.Parse(time.RFC3339, rec.MTime)
	if err == nil {
		mtime = ts.Format("02 Jan 2006 15:04:05")
	}
	var url, size string
	if rec.isDir {
		url = gcsPath + inPath + rec.Name
		size = "-"
	} else {
		url = gcsBaseURL + inPath + rec.Name
		size = fmt.Sprintf("%v", rec.Size)
	}
	htmlGridItem(out, iconFile, url, rec.Name, size, mtime)
}
func (rec *Record) Render(out http.ResponseWriter, inPath string) {
	mtime := "<unknown>"
	ts, err := time.Parse(time.RFC3339, rec.MTime)
	if err == nil {
		mtime = ts.Format("02 Jan 2006 15:04:05")
	}
	var url, size string
	if rec.isDir {
		url = gcsPath + inPath + rec.Name
		size = "-"
	} else {
		url = gcsBaseURL + inPath + rec.Name
		size = fmt.Sprintf("%v", rec.Size)
	}
	htmlGridItem(out, iconFile, url, rec.Name, size, mtime)
}
func ( rec * Record ) Render ( out http . ResponseWriter , inPath string ) { mtime := " " ts , err := time . Parse ( time . RFC3339 , rec . MTime ) if err == nil { mtime = ts . Format ( " " ) } var url , size string if rec . isDir { url = gcsPath + inPath + rec . Name size = " " } else { url = gcsBaseURL + inPath + rec . Name size = fmt . Sprintf ( " " , rec . Size ) } htmlGridItem ( out , iconFile , url , rec . Name , size , mtime ) }
// Render writes HTML representing this Record to the provided output.
Render writes HTML representing this Record to the provided output .