Ecosyste.ms: Packages

An open API service providing package, version and dependency metadata of many open source software ecosystems and registries.

Top 4.8% on proxy.golang.org
Top 1.7% forks on proxy.golang.org

proxy.golang.org : gopkg.in/shurcooL/vfsgen.v0

Package vfsgen takes an http.FileSystem (likely at `go generate` time) and generates Go code that statically implements the provided http.FileSystem. Features: - Efficient generated code without unneccessary overhead. - Uses gzip compression internally (selectively, only for files that compress well). - Enables direct access to internal gzip compressed bytes via an optional interface. - Outputs `gofmt`ed Go code. This code will generate an assets_vfsdata.go file with `var assets http.FileSystem = ...` that statically implements the contents of "assets" directory. vfsgen is great to use with go generate directives. This code can go in an assets_gen.go file, which can then be invoked via "//go:generate go run assets_gen.go". The input virtual filesystem can read directly from disk, or it can be more involved.

Registry - Source - Documentation - JSON
purl: pkg:golang/gopkg.in/shurcoo%21l/vfsgen.v0
Keywords: embed-files, go
License: MIT
Latest release: almost 4 years ago
First release: almost 4 years ago
Namespace: gopkg.in/shurcooL
Stars: 966 on GitHub
Forks: 84 on GitHub
See more repository details: repos.ecosyste.ms
Last synced: 1 day ago

    Loading...
    Readme
    Loading...