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

overrides

package
v0.20.0 Latest Latest
Warning

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

Go to latest
Published: Sep 17, 2026 License: MIT Imports: 3 Imported by: 0

Documentation

Overview

Package overrides applies the shared declarative override schema (internal/overrides) to the purego generator's metadata model (internal/codegen/frameworks/meta). The file format, discovery convention, and semantics are identical to internal/overrides; this package preserves the framework pipeline import path while using the canonical metadata model.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Apply

func Apply(file *rootoverrides.File, framework *meta.FrameworkMeta) []string

Apply delegates to the shared implementation: the framework metadata types alias the canonical model, so both loaders must apply identical corrections.

func ApplyAdjacent

func ApplyAdjacent(metaPath string, framework *meta.FrameworkMeta) ([]string, error)

ApplyAdjacent looks for an override file next to metaPath and applies it to framework. A missing file is not an error. Returned warnings list override entries that matched nothing — stale after an SDK re-scan.

Types

This section is empty.

Jump to

Keyboard shortcuts

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