Name | Size | Modified |
---|---|---|
{{if .IsDir}}📂{{else}}📄{{end}} {{.Name}} | {{.HumanSize}} | {{.HumanModTime "01/02/2006 3:04:05 PM -0700"}} |
package browse // The default template to use when serving up directory listings const defaultTemplate = `
Name | Size | Modified |
---|---|---|
{{if .IsDir}}📂{{else}}📄{{end}} {{.Name}} | {{.HumanSize}} | {{.HumanModTime "01/02/2006 3:04:05 PM -0700"}} |