rewrite-url

command
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Aug 28, 2026 License: BSD-3-Clause Imports: 6 Imported by: 0

Documentation

Overview

Command rewrite-url streams a page through lol-html, rewriting relative links to absolute ones and reporting what it changed.

It shows the shape most rewriting jobs take: a streaming Writer, a handler per concern, and state accumulated in a closure rather than on the units.

go run ./examples/rewrite-url https://example.com

Jump to

Keyboard shortcuts

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