Documentation ¶
Index ¶
- Variables
- func ParseFromReader(reader io.Reader, offset int) (string, string, error)
- func ParseFromString(str string, offset int) (string, string, error)
- func PullFromReader(reader io.Reader, target int, offset int) (string, error)
- func PullFromString(str string, target int, offset int) (string, error)
Constants ¶
This section is empty.
Variables ¶
View Source
var UrlPattern = `` /* 10037-byte string literal not displayed */
Functions ¶
func ParseFromReader ¶
Parse URLs from a reader. Return two strings: the modified content of the reader and a list of URLs. Use offset to indicate how many URLs preceded this reader.
func ParseFromString ¶
Parse URLs from a string. Return two strings: the modified content of the original string and a list of URLs. Use offset to indicate how many URLs preceded the original string.
func PullFromReader ¶
Pull a URL from a reader. Use offset to indicate how many URLs preceded this reader.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.