data

package
v0.0.1-pre-alpha.9 Latest Latest
Warning

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

Go to latest
Published: Jul 12, 2018 License: GPL-3.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var FS = 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-10-18T07:04:30.67776641Z"),
		},
		"/units.json": &vfsgen۰CompressedFileInfo{
			name:             "units.json",
			modTime:          mustUnmarshalTextTime("2016-10-19T20:05:26.457514001Z"),
			uncompressedSize: 1249,

			compressedContent: []byte("\x1f\x8b\x08\x00\x00\x09\x6e\x88\x00\xff\xa4\x94\x41\x6b\xc3\x20\x1c\xc5\xef\xf9\x14\xe2\xb9\xec\xb0\xdd\x7a\x53\x49\xb1\x4c\x97\xa1\x96\x9e\x5d\x16\x16\x59\x62\x86\x31\x14\x36\xfa\xdd\x47\x0c\x1b\x6b\x47\x31\xe2\x25\x87\xf7\x7f\x2f\xfc\x78\x0f\xfc\x2a\x00\x00\x00\xe2\xc9\x74\xaf\xc6\xbe\x8d\x70\x0b\x16\x29\xc8\x74\xea\xb5\x55\xc3\xc9\xb6\xba\xeb\x2e\x4e\xe1\x2c\xcd\x67\x03\xb7\xe0\x61\x73\x29\xff\xfc\x4c\x7e\x38\xe3\x67\x03\xa4\xaa\x3a\x3e\x51\xc4\xee\xe4\xb3\x80\x57\x6e\x32\xd8\xd1\xbb\xa9\xf6\x66\xb0\x7f\x13\x14\x31\x46\xaa\x90\xf8\x0d\x9c\x37\x57\x6c\x3b\xed\xfa\x9b\x5c\xf7\x71\xae\x1d\x12\x3c\x01\x6a\xb6\x47\x99\xb0\x76\x4e\xd7\xef\x39\x75\x61\x24\x04\x22\x8f\x09\x64\x4b\x22\x86\xc6\x4d\xde\x8c\xec\xc0\x71\x99\xd4\x18\xe3\xfb\x15\x33\xca\xde\xf8\x36\x67\x47\xc9\xf7\x8a\x26\x60\x05\x7f\x1c\xcb\xeb\x97\xae\x19\x73\x1a\x93\x0a\x61\x56\xca\x14\xb4\x39\x11\x45\x23\xed\xe4\xea\xdb\x95\xad\x20\x23\xf4\x20\x48\x4a\x67\x21\x10\x05\x53\xc3\xa9\x71\x39\x53\xaa\xea\x58\x8a\x94\x87\x62\xf6\xff\xc3\x2a\x96\xef\xb9\xf8\x0e\x00\x00\xff\xff\x5e\xdf\xd7\x35\xe1\x04\x00\x00"),
		},
	}
	fs["/"].(*vfsgen۰DirInfo).entries = []os.FileInfo{
		fs["/units.json"].(os.FileInfo),
	}

	return fs
}()

FS 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