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

analysisform

package
v0.1.5 Latest Latest
Warning

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

Go to latest
Published: Oct 14, 2026 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// CollectedAssaySelect is the table picker over upstream results that projects
	// one form field per collected column.
	CollectedAssaySelect = "CollectedAssaySelect"
)

Form component type identifiers.

These mirror the `type` field written by the frontend form builder (go-brave-ui, COMPONENT_IMPLEMENTATIONS / COMPONENT_META) and are used server side to branch on a form item's component kind. Keeping them as constants avoids typo-prone string literals being duplicated across packages.

Variables

This section is empty.

Functions

func BuildNodeFormJSON

func BuildNodeFormJSON(dagDefinitionRaw string, ioSchema map[string]interface{}, script *types.Script, scriptID string) ([]interface{}, error)

BuildNodeFormJSON 根据 DAG 节点定义与 io_schema 构造节点表单。 io_schema 由调用方从脚本目录的 io_schema.json 读取后传入(不再来自 script 字段)。

func BuildParseAnalysisResult

func BuildParseAnalysisResult(ctx context.Context, dataService interfaces.DataService, requestParam map[string]interface{}, formJSONWrap []interface{}) (map[string]interface{}, error)

BuildParseAnalysisResult 把 request_param 依据表单定义解析成结构化配方。

Types

This section is empty.

Jump to

Keyboard shortcuts

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