wire

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Jul 26, 2026 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Overview

Package wire generates an application's plugin wiring files from the plugin.json manifest of every directory under plugins/.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Run

func Run(root string, cfg Config) error

Run loads the plugin manifests under root and writes the application's generated Go and TypeScript wiring files per cfg.

Types

type Config

type Config struct {
	SDKImport    string
	FrontendSDK  string
	GoWiringPath string
	TSWiringPath string
	License      string
	TSLicense    string
}

Config parameterizes generation for the consuming application.

Jump to

Keyboard shortcuts

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