genx

package
v2.42.0-RC1 Latest Latest
Warning

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

Go to latest
Published: Sep 29, 2022 License: Apache-2.0, BSD-3-Clause, MIT Imports: 4 Imported by: 0

Documentation

Overview

Package genx is a convenience package to better support the code generator. It can be depended on by the user facing beam package and be refered to by generated code.

Similarly, it can depend on beam internals and access the canonical method list in the graph package, or other packages to filter out types that aren't necessary for registration (like context.Context).

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RegisterDoFn

func RegisterDoFn(dofn interface{})

RegisterDoFn is a convenience function for registering DoFns. Differs from RegisterFunction and RegisterType by introspecting all parameters and returns of Lifecycle methods on the dofn, and registers those types for you.

Panics if not passed a dofn.

Types

This section is empty.

Jump to

Keyboard shortcuts

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