browser

package
v0.0.10 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 15, 2024 License: BSD-3-Clause Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetHTML

func GetHTML(url string) (string, error)

Types

type Article

type Article struct {
	Title       string `json:"title"`
	ByLine      string `json:"byline"`
	Dir         string `json:"dir"`
	Lang        string `json:"lang"`
	Content     string `json:"content"`
	TextContent string `json:"textContent"`
	Length      uint   `json:"length"`
	Excerpt     string `json:"excerpt"`
	SiteName    string `json:"siteName"`
}

func GetArticle

func GetArticle(url string) (*Article, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL