feat: initial commit

This commit is contained in:
2025-06-15 16:44:44 +02:00
parent c50d1858f2
commit 21b334bc70
27 changed files with 13550 additions and 122 deletions

View File

@ -98,6 +98,12 @@ func WithPath(paths ...string) MutationFunc {
}
}
func WithFragment(fragment string) MutationFunc {
return func(u *url.URL) {
u.Fragment = fragment
}
}
func applyURLMutations(u *url.URL, funcs []MutationFunc) {
for _, fn := range funcs {
fn(u)