aboutsummaryrefslogtreecommitdiff
path: root/link.go
diff options
context:
space:
mode:
Diffstat (limited to 'link.go')
-rw-r--r--link.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/link.go b/link.go
index 266bcdd..0d43e2c 100644
--- a/link.go
+++ b/link.go
@@ -14,6 +14,9 @@ type Link struct {
// The error from scan.
ErrScan error `json:"-"`
+ // Value contains the original URL inside the anchor or image element.
+ Value string `json:"value"`
+
Url string `json:"url"`
Error string `json:"error,omitempty"`
Size int64 `json:"size,omitempty"`