parser

package
v1.10.0 Latest Latest
Warning

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

Go to latest
Published: Dec 5, 2024 License: MIT Imports: 16 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ParseHTML

func ParseHTML(ctx context.Context, request *models.ParseRequest) ([]byte, error)

ParseHTML parses the html table in the request and generates correctly formatted JSON

Types

type ResponseModel

type ResponseModel struct {
	JSON        models.RenderRequest `json:"render_json"`
	PreviewHTML string               `json:"preview_html"`
}

ResponseModel defines the format of the json response contained in the bytes returned from ParseHTML

Jump to

Keyboard shortcuts

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