()
| 100 | //////////////////////////////////////////////////////////////// |
| 101 | |
| 102 | func ExampleMinify() { |
| 103 | m := minify.New() |
| 104 | m.AddFuncRegexp(regexp.MustCompile("[/+]json$"), Minify) |
| 105 | |
| 106 | if err := m.Minify("application/json", os.Stdout, os.Stdin); err != nil { |
| 107 | panic(err) |
| 108 | } |
| 109 | } |
nothing calls this directly
no test coverage detected
searching dependent graphs…