package
0.2.1
Repository: https://github.com/firebase/genkit.git
Documentation: pkg.go.dev

# Functions

Clean returns a valid filename for id.
ExtractJSONFromMarkdown returns the contents of the first fenced code block in the markdown text md.
No description provided by the author
No description provided by the author
JSONString returns json.Marshal(x) as a string.
NewContextKey returns a context key for a value of type T.
PrettyJSONString returns json.MarshalIndent(x, "", " ") as a string.
ReadJSONFile JSON-decodes the contents of filename into pvalue, which must be a pointer.
SchemaAsMap convers json schema struct to a map (JSON representation).
ValidateJSON will validate JSON against the expected schema.
ValidateRaw will validate JSON data against the JSON schema.
ValidateValue will validate any value against the expected schema.
WriteJSONFile writes value to filename as JSON.
Zero returns the Zero value for T.

# Constants

development: testing, debugging, etc.
production: user data, SLOs, etc.

# Structs

A ContextKey is a unique, typed key for a value stored in a context.
HTTPError is an error that includes an HTTP status code.

# Interfaces

FlowStater is the common type of all flowState[I, O] types.

# Type aliases

An Environment is the execution context in which the program is running.