R=gri, r
CC=golang-dev, rsc
https://golang.org/cl/819042
// Template formatter for "time" format.
func timeFmt(w io.Writer, x interface{}, format string) {
- // note: os.Dir.Mtime_ns is in uint64 in ns!
+ // note: os.FileInfo.Mtime_ns is in uint64 in ns!
template.HTMLEscape(w, []byte(time.SecondsToLocalTime(int64(x.(uint64)/1e9)).String()))
}
Title string
Subtitle string
PkgRoots []string
- Timestamp uint64 // int64 to be compatible with os.Dir.Mtime_ns
+ Timestamp uint64 // int64 to be compatible with os.FileInfo.Mtime_ns
Query string
Version string
Menu []byte