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

Top 1.6% on proxy.golang.org
Top 0.3% dependent packages on proxy.golang.org
Top 0.2% dependent repos on proxy.golang.org
Top 2.9% forks on proxy.golang.org
Top 2.0% docker downloads on proxy.golang.org

proxy.golang.org : github.com/mjibson/esc

esc embeds files into go programs and provides http.FileSystem interfaces to them. It adds all named files or files recursively under named directories at the path specified. The output file provides an http.FileSystem interface with zero dependencies on packages outside the standard library. Usage: The flags are: After producing an output file, the assets may be accessed with the FS() function, which takes a flag to use local assets instead (for local development). FS(Must)?(Byte|String) returns an asset as a (byte slice|string). FSMust(Byte|String) panics if the asset is not found. esc can be invoked by go generate: Embedded assets can be served with HTTP using the http.FileServer. Assuming you have a directory structure similar to the following: Where main.go contains:

Registry - Source - Documentation - JSON
purl: pkg:golang/github.com/mjibson/esc
License: MIT
Latest release: over 6 years ago
First release: over 7 years ago
Namespace: github.com/mjibson
Dependent packages: 210
Dependent repositories: 956
Stars: 633 on GitHub
Forks: 73 on GitHub
Docker dependents: 1
Docker downloads: 2,989
See more repository details: repos.ecosyste.ms
Last synced: about 14 hours ago

    Loading...
    Readme
    Loading...