home: github.com/shurcooL/home/presentdata Index | Files

package presentdata

import "github.com/shurcooL/home/presentdata"

Package presentdata contains static data for present format.

Index

Package Files

assets_vfsdata.go doc.go

Variables

var Assets = 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("0001-01-01T00:00:00Z"),
        },
        "/static": &vfsgen۰DirInfo{
            name:    "static",
            modTime: mustUnmarshalTextTime("2017-04-26T04:39:24Z"),
        },
        "/static/slides.js": &vfsgen۰CompressedFileInfo{
            name:             "slides.js",
            modTime:          mustUnmarshalTextTime("2017-04-26T04:39:24Z"),
            uncompressedSize: 13915,

            compressedContent: []byte("" /* 16454 byte string literal not displayed */),
        },
        "/static/styles.css": &vfsgen۰CompressedFileInfo{
            name:             "styles.css",
            modTime:          mustUnmarshalTextTime("2017-04-26T04:39:24Z"),
            uncompressedSize: 9926,

            compressedContent: []byte("" /* 8934 byte string literal not displayed */),
        },
        "/templates": &vfsgen۰DirInfo{
            name:    "templates",
            modTime: mustUnmarshalTextTime("2017-04-26T04:39:24Z"),
        },
        "/templates/action.tmpl": &vfsgen۰CompressedFileInfo{
            name:             "action.tmpl",
            modTime:          mustUnmarshalTextTime("2017-04-26T04:39:24Z"),
            uncompressedSize: 1551,

            compressedContent: []byte("" /* 2458 byte string literal not displayed */),
        },
        "/templates/slides.tmpl": &vfsgen۰CompressedFileInfo{
            name:             "slides.tmpl",
            modTime:          mustUnmarshalTextTime("2017-04-26T04:39:24Z"),
            uncompressedSize: 3265,

            compressedContent: []byte("" /* 4810 byte string literal not displayed */),
        },
    }
    fs["/"].(*vfsgen۰DirInfo).entries = []os.FileInfo{
        fs["/static"].(os.FileInfo),
        fs["/templates"].(os.FileInfo),
    }
    fs["/static"].(*vfsgen۰DirInfo).entries = []os.FileInfo{
        fs["/static/slides.js"].(os.FileInfo),
        fs["/static/styles.css"].(os.FileInfo),
    }
    fs["/templates"].(*vfsgen۰DirInfo).entries = []os.FileInfo{
        fs["/templates/action.tmpl"].(os.FileInfo),
        fs["/templates/slides.tmpl"].(os.FileInfo),
    }

    return fs
}()

Assets contains static data for present format.

Package presentdata imports 9 packages (graph) and is imported by 1 packages. Updated 2017-05-06. Refresh now. Tools for package owners.