move all non *.go files to vendor directory

This commit is contained in:
Damian Bednarczyk
2023-12-05 21:28:11 -06:00
parent 0bfd83f64a
commit 20984438f9
8 changed files with 4 additions and 4 deletions

View File

@@ -8,7 +8,7 @@ import (
"ladder/proxychain/responsemodifiers/rewriters"
)
//go:embed block_element_removal.js
//go:embed vendor/block_element_removal.js
var blockElementRemoval string
// BlockElementRemoval prevents paywall javascript from removing a

View File

@@ -19,7 +19,7 @@ import (
"github.com/markusmobius/go-trafilatura"
)
//go:embed generate_readable_outline.html
//go:embed vendor/generate_readable_outline.html
var templateFS embed.FS
// GenerateReadableOutline creates an reader-friendly distilled representation of the article.

View File

@@ -9,7 +9,7 @@ import (
"ladder/proxychain/responsemodifiers/rewriters"
)
//go:embed patch_dynamic_resource_urls.js
//go:embed vendor/patch_dynamic_resource_urls.js
var patchDynamicResourceURLsScript string
// PatchDynamicResourceURLs patches the javascript runtime to rewrite URLs client-side.

View File

@@ -8,7 +8,7 @@ import (
"ladder/proxychain"
)
//go:embed patch_google_analytics.js
//go:embed vendor/patch_google_analytics.js
var gaPatch string
// PatchGoogleAnalytics replaces any request to google analytics with a no-op stub function.