package tmpl

import "sourcegraph.com/sourcegraph/appdash/traceapp/tmpl"

Package tmpl contains template data used by Appdash.

This package needs to be go generated after making changes to template files.

Index

Variables

var Data = func() http.FileSystem {
	mustUnmarshalTextTime := func(text string) time.Time {
		var t time.Time
		err := t.UnmarshalText([]byte(text))
		if err != nil {
			panic(err)
		}
		return t
	}

	fs := _vfsgen_fs{
		"/": &_vfsgen_dirInfo{
			name:    "/",
			modTime: mustUnmarshalTextTime("2016-05-31T20:47:03Z"),
		},
		"/aggregate.html": &_vfsgen_compressedFileInfo{
			name:              "aggregate.html",
			modTime:           mustUnmarshalTextTime("2015-10-04T03:50:12Z"),
			compressedContent: []byte("" /* 6018 byte string literal not displayed */),
			uncompressedSize:  3419,
		},
		"/dashboard.html": &_vfsgen_compressedFileInfo{
			name:              "dashboard.html",
			modTime:           mustUnmarshalTextTime("2016-05-31T20:47:03Z"),
			compressedContent: []byte("" /* 5954 byte string literal not displayed */),
			uncompressedSize:  3337,
		},
		"/layout.html": &_vfsgen_compressedFileInfo{
			name:              "layout.html",
			modTime:           mustUnmarshalTextTime("2016-05-31T20:45:42Z"),
			compressedContent: []byte("" /* 11246 byte string literal not displayed */),
			uncompressedSize:  8643,
		},
		"/root.html": &_vfsgen_compressedFileInfo{
			name:              "root.html",
			modTime:           mustUnmarshalTextTime("2015-10-04T03:50:12Z"),
			compressedContent: []byte("" /* 1818 byte string literal not displayed */),
			uncompressedSize:  832,
		},
		"/trace.html": &_vfsgen_compressedFileInfo{
			name:              "trace.html",
			modTime:           mustUnmarshalTextTime("2016-04-28T10:40:52Z"),
			compressedContent: []byte("" /* 26474 byte string literal not displayed */),
			uncompressedSize:  23326,
		},
		"/traces.html": &_vfsgen_compressedFileInfo{
			name:              "traces.html",
			modTime:           mustUnmarshalTextTime("2015-10-04T03:50:12Z"),
			compressedContent: []byte("" /* 9438 byte string literal not displayed */),
			uncompressedSize:  6514,
		},
	}

	fs["/"].(*_vfsgen_dirInfo).entries = []os.FileInfo{
		fs["/aggregate.html"].(os.FileInfo),
		fs["/dashboard.html"].(os.FileInfo),
		fs["/layout.html"].(os.FileInfo),
		fs["/root.html"].(os.FileInfo),
		fs["/trace.html"].(os.FileInfo),
		fs["/traces.html"].(os.FileInfo),
	}

	return fs
}()

Data statically implements the virtual filesystem provided to vfsgen.

Source Files

data_vfsdata.go doc.go

Version
v0.0.0-20211028080628-e2786a622600 (latest)
Published
Oct 28, 2021
Platform
js/wasm
Imports
8 packages
Last checked
5 hours ago

Tools for package owners.