goproxy: github.com/elazarl/goproxy/examples/goproxy-yui-minify Files

Command goproxy-yui-minify

This example would minify standalone Javascript files (identified by their content type) using the command line utility YUI compressor http://yui.github.io/yuicompressor/ Example usage:

./yui -java /usr/local/bin/java -yuicompressor ~/Downloads/yuicompressor-2.4.8.jar
$ curl -vx localhost:8080  http://golang.org/lib/godoc/godocs.js
(function(){function g(){var u=$("#search");if(u.length===0){return}function t(){if(....
$ curl http://golang.org/lib/godoc/godocs.js | head -n 3
// Copyright 2012 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.

Package Files

yui.go

Package main imports 10 packages (graph). Updated 2016-07-22. Refresh now. Tools for package owners. This is an inactive package (no imports and no commits in at least two years).