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

copier

package
v0.2.6 Latest Latest
Warning

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

Go to latest
Published: Nov 12, 2025 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ComponentDetailsMap = map[string]Details{
	"git@github.com:datarobot/af-component-agent.git": {
		// contains filtered or unexported fields
	},
	"git@github.com:datarobot/af-component-base.git": {
		// contains filtered or unexported fields
	},
	"git@github.com:datarobot/af-component-fastapi-backend.git": {
		// contains filtered or unexported fields
	},
	"git@github.com:datarobot/af-component-fastmcp-backend.git": {
		// contains filtered or unexported fields
	},
	"git@github.com:datarobot/af-component-llm.git": {
		// contains filtered or unexported fields
	},
	"git@github.com:datarobot/af-component-react.git": {
		// contains filtered or unexported fields
	},
}

Map the repo listed in an "answer file" to relevant info for component To Note: Not all of the README contents have been added

Functions

func Add added in v0.2.5

func Add(repoURL string) *exec.Cmd

func ExecAdd

func ExecAdd(repoURL string) error

func ExecUpdate

func ExecUpdate(yamlFile string) error

func Update added in v0.2.5

func Update(yamlFile string) *exec.Cmd

Types

type Answers

type Answers struct {
	FileName string
	Repo     string `yaml:"_src_path"`
}

func AnswersFromPath

func AnswersFromPath(path string) ([]Answers, error)

type Component added in v0.2.3

type Component struct {
	FileName string
	SrcPath  string `yaml:"_src_path"`
}

TODO: Add more properties to account for what we need to determine as canonical values expected for components

func ComponentsFromAnswers added in v0.2.3

func ComponentsFromAnswers(answers []Answers) ([]Component, error)

type Details added in v0.2.4

type Details struct {
	ReadMeContents string
	// contains filtered or unexported fields
}

TODO: I don't know what we should add here

Jump to

Keyboard shortcuts

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