models

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Oct 24, 2024 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CodeChange

type CodeChange struct {
	RelativePath string `xml:"relativePath"`
	Code         string `xml:"code"`
}

CodeChange represents an individual code change with a file path and the code content.

type CodeChanges

type CodeChanges struct {
	CodeChange []CodeChange `xml:"codeChange"`
}

CodeChanges wraps multiple code changes.

type Suggestion

type Suggestion struct {
	CodeChanges  CodeChanges `xml:"codeChanges"`
	Explanations string      `xml:"EXPLANATIONS"`
}

Suggestion Define struct for the entire suggestion

Jump to

Keyboard shortcuts

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