parser

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Dec 10, 2025 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Parser

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

Parser parses JSON Logic expressions and converts them to SQL WHERE clauses

func NewParser

func NewParser() *Parser

NewParser creates a new parser instance

func (*Parser) Parse

func (p *Parser) Parse(logic interface{}) (string, error)

Parse converts a JSON Logic expression to SQL WHERE clause

Jump to

Keyboard shortcuts

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