go-html-parser-example

command module
v0.0.0-...-dec96da Latest Latest
Warning

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

Go to latest
Published: Jul 7, 2022 License: MIT Imports: 6 Imported by: 0

README

go-html-parser-example

Go example to parse list of const from the given documentation page

This example scrapes package documentation page - https://pkg.go.dev/k8s.io/component-helpers/storage/volume and parses list of constants declared in that package

Running example

$ go run main.go 
List of consts declared in "k8s.io/component-helpers/storage/volume":
AnnBindCompleted 
AnnBoundByController 
AnnSelectedNode 
NotSupportedProvisioner 
AnnDynamicallyProvisioned 
AnnMigratedTo 
AnnStorageProvisioner     
AnnBetaStorageProvisioner 
PVDeletionProtectionFinalizer 
PVDeletionInTreeProtectionFinalizer 

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

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