data

package
v0.0.0-...-2f9a7ba Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 9, 2019 License: BSD-2-Clause Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Assets = func() http.FileSystem {
	fs := vfsgen۰FS{
		"/": &vfsgen۰DirInfo{
			name:    "/",
			modTime: time.Time{},
		},
		"/static": &vfsgen۰DirInfo{
			name:    "static",
			modTime: time.Date(2018, 10, 2, 16, 5, 11, 711824685, time.UTC),
		},
		"/templates": &vfsgen۰DirInfo{
			name:    "templates",
			modTime: time.Date(2018, 9, 28, 22, 36, 32, 728467178, time.UTC),
		},
		"/templates/index.html": &vfsgen۰CompressedFileInfo{
			name:             "index.html",
			modTime:          time.Date(2018, 9, 28, 22, 37, 36, 385552769, time.UTC),
			uncompressedSize: 113,

			compressedContent: []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xb2\xc9\x28\xc9\xcd\xb1\xe3\x52\x50\x50\x50\xb0\xc9\x48\x4d\x4c\x81\x30\xc1\xdc\x92\xcc\x92\x9c\x54\xbb\xa2\xfc\x9c\x1c\x1b\x7d\x08\x1b\xa2\x4c\x1f\xa1\xce\x26\x29\x3f\xa5\x12\xa1\x25\x3c\x35\x27\x39\x3f\x37\x55\xa1\x24\x5f\x01\xa4\x4d\x0f\xaa\x1e\xa2\xc8\x46\x1f\x6c\x15\x20\x00\x00\xff\xff\x34\x7d\xe2\xfe\x71\x00\x00\x00"),
		},
		"/wiki": &vfsgen۰DirInfo{
			name:    "wiki",
			modTime: time.Date(2018, 10, 2, 16, 16, 8, 394216376, time.UTC),
		},
		"/wiki/test.md": &vfsgen۰FileInfo{
			name:    "test.md",
			modTime: time.Date(2018, 10, 2, 16, 16, 8, 418254740, time.UTC),
			content: []byte("\x25\x20\x57\x69\x6b\x69\x20\x54\x65\x73\x74\x20\x50\x61\x67\x65\x0a\x0a\x23\x23\x20\x57\x69\x6b\x69\x20\x54\x65\x73\x74\x20\x48\x65\x61\x64\x69\x6e\x67\x0a\x0a\x57\x69\x6b\x69\x20\x54\x65\x73\x74\x20\x43\x6f\x6e\x74\x65\x6e\x74"),
		},
	}
	fs["/"].(*vfsgen۰DirInfo).entries = []os.FileInfo{
		fs["/static"].(os.FileInfo),
		fs["/templates"].(os.FileInfo),
		fs["/wiki"].(os.FileInfo),
	}
	fs["/templates"].(*vfsgen۰DirInfo).entries = []os.FileInfo{
		fs["/templates/index.html"].(os.FileInfo),
	}
	fs["/wiki"].(*vfsgen۰DirInfo).entries = []os.FileInfo{
		fs["/wiki/test.md"].(os.FileInfo),
	}

	return fs
}()

Assets statically implements the virtual filesystem provided to vfsgen.

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL