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

onboarding

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Oct 9, 2026 License: MIT Imports: 14 Imported by: 0

Documentation

Overview

Package onboarding installs project-local agent integrations without replacing unrelated configuration. All proposed changes are validated before writes.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Change

type Change struct {
	Path   string `json:"path"`
	Action string `json:"action"`
}

type Options

type Options struct {
	Agent        string
	DryRun, Hook bool
}

type Report

type Report struct {
	Root        string          `json:"root"`
	DryRun      bool            `json:"dry_run"`
	Changes     []Change        `json:"changes"`
	Tools       map[string]bool `json:"tools"`
	Diagnostics []string        `json:"diagnostics"`
}

func Setup

func Setup(ctx context.Context, selected string, o Options) (Report, error)

Setup detects a containing Git checkout even before its first commit. Outside Git it uses the selected directory, allowing analysis-only projects.

Jump to

Keyboard shortcuts

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