httpfile

Package httpfile provides an easy way to create HTTP handlers that respond with static data, possibly gzip compressed if requested by the client.

Go Reference