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

planaccess

package
v0.23.2 Latest Latest
Warning

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

Go to latest
Published: Oct 25, 2026 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Overview

Package planaccess is what the module's own tools may ask of the plan package that a host may not. plan is public and exports only what it promises; it registers here the one thing the flow editor needs that is not a promise: whether a config parses as plan reads it.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ParseError

func ParseError(data []byte) error

ParseError returns why the config in data does not parse as plan reads it, or nil if it does (or if the plan package is not loaded). A config that does not parse has no findings but "other": its problems are unknown, not absent.

func RegisterParse

func RegisterParse(f func(data []byte) error)

RegisterParse is called once by the plan package's init with the function that reports why a config does not parse (its decoding refuses it), or nil if it does.

Types

This section is empty.

Jump to

Keyboard shortcuts

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