application

package
v0.0.0-...-3bd8233 Latest Latest
Warning

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

Go to latest
Published: Dec 6, 2023 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Application

type Application struct {
	// contains filtered or unexported fields
}

func NewApplication

func NewApplication(input []byte) *Application

NewApplication returns new Application instance.

func (*Application) GetSpecVersion

func (a *Application) GetSpecVersion() float64

GetSpecVersion returns specification version.

func (*Application) PrintJSON

func (a *Application) PrintJSON(minified bool) (string, error)

PrintJSON print specification interface in JSON format.

func (*Application) SaveJson

func (a *Application) SaveJson(pathname string, minified bool) error

SaveJson saves specification interface in JSON format.

func (*Application) Start

func (a *Application) Start()

Start application.

type RawSection

type RawSection struct {
	Name       string
	Type       RawSectionType
	Paragraphs []string
	List       []string
	Table      [][]string
}

RawSection is the data between two H4 tags

type RawSectionType

type RawSectionType string
const (
	RawSectionTypeMethod  RawSectionType = "method"
	RawSectionTypeObject  RawSectionType = "object"
	RawSectionTypeUnknown RawSectionType = "unknown"
)

Jump to

Keyboard shortcuts

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