Minify html on-the-fly before sending it to users

This commit is contained in:
Tom Wiesing 2023-01-04 12:45:33 +01:00
parent b3039768af
commit 785130dc36
No known key found for this signature in database
7 changed files with 66 additions and 6 deletions

View file

@ -5,7 +5,7 @@ import (
)
// Lazy holds a lazily initialized value of T.
// Lazy non-zero lazy must not be copied after first use.
// A non-zero lazy must not be copied after first use.
type Lazy[T any] struct {
once sync.Once