package
0.0.0-20210106104248-dd04075d4104
Repository: https://github.com/bouk/staticfiles.git
Documentation: pkg.go.dev
# Functions
Hash returns the hex-encoded SHA256 hash of the original file Used for the Etag, and useful for caching Returns an empty string if the file is not in the bundle.
ModTime returns the modification time of the original file.
Open allows you to read an embedded file directly.
ServeHTTP serves a request, attempting to reply with an embedded file.