Documentation
¶
Overview ¶
Package fixer provides functionality for fixing Java code based on suggestions.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Fixer ¶
type Fixer struct {
// contains filtered or unexported fields
}
Fixer is a server that fixes Java code based on suggestions provided.
func (*Fixer) Fix ¶ added in v0.2.1
func (f *Fixer) Fix(class domain.Class, suggestions []domain.Suggestion, example domain.Class) (domain.Class, error)
Fix applies the given suggestions to the provided class and returns the modified class or an error. It communicates with an external fixer service to perform the modifications.
func (*Fixer) Handler ¶ added in v0.2.0
Handler sets the handler function for processing requests on the Fixer server.
func (*Fixer) ListenAndServe ¶ added in v0.2.1
ListenAndServe begins the Fixer server and signals readiness through the provided channel.
Click to show internal directories.
Click to hide internal directories.