A community based topic aggregation platform built on atproto

style: apply gofumpt formatting to unfurl package

Auto-formatting comment blocks to comply with gofumpt standards.
No functional changes.

Changed files
+3 -3
internal
+3 -2
internal/core/unfurl/providers.go
···
// normalizeURL converts protocol-relative URLs to HTTPS
// Examples:
-
// "//example.com/image.jpg" -> "https://example.com/image.jpg"
-
// "https://example.com/image.jpg" -> "https://example.com/image.jpg" (unchanged)
+
//
+
// "//example.com/image.jpg" -> "https://example.com/image.jpg"
+
// "https://example.com/image.jpg" -> "https://example.com/image.jpg" (unchanged)
func normalizeURL(urlStr string) string {
if strings.HasPrefix(urlStr, "//") {
return "https:" + urlStr
-1
internal/core/unfurl/providers_test.go
···
})
}
}
-