Help us shape the future of Go! Take the 2026 Go Developer Survey

write

package
v0.31.0 Latest Latest
Warning

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

Go to latest
Published: May 15, 2026 License: AGPL-3.0, AGPL-3.0-or-later Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type WriteTool

type WriteTool struct {
	// contains filtered or unexported fields
}

WriteTool creates new files or completely overwrites existing ones.

func NewWriteTool

func NewWriteTool(projectRoot string) *WriteTool

func (*WriteTool) Definition

func (t *WriteTool) Definition() tools.Definition

func (*WriteTool) Execute

func (t *WriteTool) Execute(_ context.Context, args map[string]any) (string, error)

Jump to

Keyboard shortcuts

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