minify

package
v2.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 16, 2024 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Args

type Args struct {
	MimeType string
	Tmpl     TmplArgs
}

type Minifier

type Minifier struct {
	// contains filtered or unexported fields
}

func MakeMinifier

func MakeMinifier() *Minifier

func (*Minifier) Write

func (mn *Minifier) Write(wr http.ResponseWriter, args *Args)

type TmplArgs

type TmplArgs struct {
	Name   string
	Body   string
	Params any
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL