Skip to content

CodeGophercises/html-link-parser

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

To use the parser, import github.com/CodeGophercises/html-link-parser/parser

The package exports the API Parse, which inputs an HTML byte slice.

This package extracts all the links ( including nested ones ) and returns them in the form of

{
  Href: <LinkHref>
  Text: <Text inside link>
}

Sample HTML files are included in the dir html-samples.

About

Gophercises problem #4

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published