extractor

package
v0.0.0-...-b906afe Latest Latest
Warning

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

Go to latest
Published: Sep 20, 2023 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GenerateSwitchCases

func GenerateSwitchCases(
	filePath,
	packageName string,
	templateType TemplateType,
	output io.Writer,
	targetObjectTypeNames []constantObjectTypeName,
	includeNonExported bool,
) error

func NewConstantObjectTypeNamesFromStringSlice

func NewConstantObjectTypeNamesFromStringSlice(input []string) []constantObjectTypeName

Types

type TemplateType

type TemplateType string
const (
	RawTemplateType      TemplateType = "raw"
	FunctionTemplateType TemplateType = "function"
)

Jump to

Keyboard shortcuts

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