gocuelang.org/go/internal/cuedebug Index | Files

package cuedebug

import "cuelang.org/go/internal/cuedebug"

Index

Variables

var Flags struct {
	HTTP bool
}

Flags holds the set of CUE_DEBUG flags. It is initialized by Init.

Functions

func Init

func Init() error

Init initializes Flags. Note: this isn't named "init" because we don't always want it to be called (for example we don't want it to be called when running "cue help"), and also because we want the failure mode to be one of error not panic, which would be the only option if it was a top level init function.

Source Files

debug.go

Version
v0.8.1
Published
Apr 3, 2024
Platform
linux/amd64
Imports
2 packages
Last checked
3 minutes ago

Tools for package owners.