shithub: mycel

Download patch

ref: e9c71defb4cb0c00ee99738bd740b959e4e110d0
parent: 57f0f1562372f888146e0aa4307ec9b1961db058
author: Philip Silva <philip.silva@protonmail.com>
date: Sun Jan 3 15:13:28 EST 2021

long pkg paths for godoc

--- a/browser/browser.go
+++ b/browser/browser.go
@@ -12,11 +12,11 @@
 	"net/http"
 	"net/http/cookiejar"
 	"net/url"
-	"opossum"
-	"opossum/img"
-	"opossum/logger"
-	"opossum/nodes"
-	"opossum/style"
+	"github.com/psilva261/opossum"
+	"github.com/psilva261/opossum/img"
+	"github.com/psilva261/opossum/logger"
+	"github.com/psilva261/opossum/nodes"
+	"github.com/psilva261/opossum/style"
 	"os"
 	"strings"
 
--- a/browser/browser_test.go
+++ b/browser/browser_test.go
@@ -5,9 +5,9 @@
 	"golang.org/x/net/html"
 	"net/http"
 	"net/url"
-	"opossum/logger"
-	"opossum/nodes"
-	"opossum/style"
+	"github.com/psilva261/opossum/logger"
+	"github.com/psilva261/opossum/nodes"
+	"github.com/psilva261/opossum/style"
 	"strings"
 	"testing"
 )
--- a/browser/experimental.go
+++ b/browser/experimental.go
@@ -3,8 +3,8 @@
 import (
 	"fmt"
 	"image"
-	"opossum/domino"
-	"opossum/nodes"
+	"github.com/psilva261/opossum/domino"
+	"github.com/psilva261/opossum/nodes"
 	"time"
 
 	"9fans.net/go/draw"
--- a/browser/website.go
+++ b/browser/website.go
@@ -5,10 +5,10 @@
 	"golang.org/x/net/html"
 	"io/ioutil"
 	"net/url"
-	"opossum"
-	"opossum/domino"
-	"opossum/nodes"
-	"opossum/style"
+	"github.com/psilva261/opossum"
+	"github.com/psilva261/opossum/domino"
+	"github.com/psilva261/opossum/nodes"
+	"github.com/psilva261/opossum/style"
 	"strings"
 )
 
--- a/cmd/browse/main.go
+++ b/cmd/browse/main.go
@@ -5,13 +5,13 @@
 	"fmt"
 
 	"os"
-	"opossum"
-	"opossum/browser"
-	"opossum/domino"
-	"opossum/img"
-	"opossum/logger"
-	"opossum/style"
-	"opossum/nodes"
+	"github.com/psilva261/opossum"
+	"github.com/psilva261/opossum/browser"
+	"github.com/psilva261/opossum/domino"
+	"github.com/psilva261/opossum/img"
+	"github.com/psilva261/opossum/logger"
+	"github.com/psilva261/opossum/style"
+	"github.com/psilva261/opossum/nodes"
 	"runtime/pprof"
 	"time"
 
--- a/domino/domino.go
+++ b/domino/domino.go
@@ -9,9 +9,9 @@
 	"github.com/jvatic/goja-babel"
 	"golang.org/x/net/html"
 	"io/ioutil"
-	"opossum"
-	"opossum/logger"
-	"opossum/nodes"
+	"github.com/psilva261/opossum"
+	"github.com/psilva261/opossum/logger"
+	"github.com/psilva261/opossum/nodes"
 	"strconv"
 	"strings"
 	"time"
--- a/domino/domino_test.go
+++ b/domino/domino_test.go
@@ -2,7 +2,7 @@
 
 import (
 	"io/ioutil"
-	"opossum/logger"
+	"github.com/psilva261/opossum/logger"
 	"strings"
 	"testing"
 	"time"
--- a/go.mod
+++ b/go.mod
@@ -1,4 +1,4 @@
-module opossum
+module github.com/psilva261/opossum
 
 go 1.15
 
--- a/img/img.go
+++ b/img/img.go
@@ -10,8 +10,8 @@
 	"image"
 	"image/jpeg"
 	"io"
-	"opossum"
-	"opossum/logger"
+	"github.com/psilva261/opossum"
+	"github.com/psilva261/opossum/logger"
 	"strings"
 	"net/url"
 
--- a/img/img_test.go
+++ b/img/img_test.go
@@ -1,7 +1,7 @@
 package img
 
 import (
-	"opossum/logger"
+	"github.com/psilva261/opossum/logger"
 	"testing"
 )
 
--- a/nodes/nodes.go
+++ b/nodes/nodes.go
@@ -3,8 +3,8 @@
 import (
 	"bytes"
 	"golang.org/x/net/html"
-	"opossum/logger"
-	"opossum/style"
+	"github.com/psilva261/opossum/logger"
+	"github.com/psilva261/opossum/style"
 	"strings"
 )
 
--- a/nodes/nodes_test.go
+++ b/nodes/nodes_test.go
@@ -2,7 +2,7 @@
 
 import (
 	"golang.org/x/net/html"
-	"opossum/style"
+	"github.com/psilva261/opossum/style"
 	"strings"
 	"testing"
 )
--- a/opossum.go
+++ b/opossum.go
@@ -5,7 +5,7 @@
 	"golang.org/x/text/encoding/charmap"
 	"io/ioutil"
 	"mime"
-	"opossum/logger"
+	"github.com/psilva261/opossum/logger"
 	"net/url"
 	"strings"
 )
--- a/style/experimental.go
+++ b/style/experimental.go
@@ -6,8 +6,8 @@
 	"fmt"
 	"github.com/mjl-/duit"
 	"image"
-	"opossum"
-	"opossum/img"
+	"github.com/psilva261/opossum"
+	"github.com/psilva261/opossum/img"
 	"strings"
 )
 
--- a/style/stylesheets.go
+++ b/style/stylesheets.go
@@ -11,7 +11,7 @@
 	"golang.org/x/image/colornames"
 	"golang.org/x/net/html"
 	"io/ioutil"
-	"opossum/logger"
+	"github.com/psilva261/opossum/logger"
 	"os/exec"
 	"regexp"
 	"strconv"
--- a/style/stylesheets_test.go
+++ b/style/stylesheets_test.go
@@ -3,7 +3,7 @@
 import (
 	"github.com/chris-ramon/douceur/css"
 	"golang.org/x/net/html"
-	"opossum/logger"
+	"github.com/psilva261/opossum/logger"
 	"strings"
 	"testing"
 )