Help us shape the future of Go! Take the 2026 Go Developer Survey

parse

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Oct 6, 2026 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Provider

type Provider struct {
	Settings *Settings
	ReadFile func(string) ([]byte, error)
}

func (Provider) Parse

func (p Provider) Parse(path string) ([]ifttt.LintDirective, error)

type Settings added in v0.2.0

type Settings struct {
	Syntax           ifttt.DirectiveSyntax
	PythonDocstrings *bool
	UnknownPolicy    string
}

Settings belongs to one source snapshot; nil settings preserve CLI defaults.

Jump to

Keyboard shortcuts

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