scraper

package
v0.0.0-...-8aaa6b0 Latest Latest
Warning

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

Go to latest
Published: Nov 22, 2024 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Attribute

type Attribute struct {
	Name        string
	Length      int
	Type        string
	Description string
	Required    bool
}

func NewAttribute

func NewAttribute(name, t, description string, required bool, length int) *Attribute

func (*Attribute) String

func (a *Attribute) String() string

type Model

type Model struct {
	Name       string
	ParentName string
	Attributes []Attribute
}

func ScrapeModel

func ScrapeModel(modelName, parentName, page string) (*Model, error)

func (*Model) String

func (m *Model) String() string

Jump to

Keyboard shortcuts

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