process

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Jan 5, 2025 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Change

type Change struct {
	Start int    `json:"start" jsonschema:"Title=start,Description=Start position of the change,required"`
	End   int    `json:"end" jsonschema:"Title=end,Description=End position of the change,required"`
	Code  string `json:"code" jsonschema:"Title=code,Description=Code to be changed,required"`
}

type File

type File struct {
	Path    string   `json:"path" jsonschema:"Title=path,Description=Path to the file,required"`
	Changes []Change `json:"changes" jsonschema:"Title=changes,Description=Changes to the file,required"`
}

type Process

type Process struct {
	Language string `json:"language" jsonschema:"Title=language,Description=The language of the code block,required"`
	Files    []File `json:"files" jsonschema:"Title=files,Description=List of files,required"`
}

func (*Process) GenerateSchema

func (process *Process) GenerateSchema() string

Jump to

Keyboard shortcuts

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