shared

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Apr 21, 2025 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GenerateBasicCmpStatement

func GenerateBasicCmpStatement(typeName *types.TypeName, fieldName string, sign string, isPointer bool) *Statement
return func(document *Struct) bool {
	return document.BasicInt64 <= parsed
}

func GenerateFalseFn

func GenerateFalseFn(typeName *types.TypeName) *Statement

func GenerateOperatorCases

func GenerateOperatorCases(typeName *types.TypeName, fieldName string, isPointer bool, inner func(*types.TypeName, string, string, bool) *Statement) *Statement

func GetFalseFn

func GetFalseFn(typeName *types.TypeName) *Statement

func IfErrNotNilStatement

func IfErrNotNilStatement(typeName *types.TypeName) *Statement

func ParseBasicType

func ParseBasicType(typeName *types.TypeName, t *types.Basic) (*Statement, error)

func ReturnFalseQuery

func ReturnFalseQuery(typeName *types.TypeName) *Statement

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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