Discover Packages
github.com/airlockrun/agentsdk
agenttest
examples
csv
package
Version:
v0.8.1-alpha.9
Opens a new window with list of versions in this module.
Published: Oct 10, 2026
License: Apache-2.0
Opens a new window with license information.
Imports: 10
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
Package csvexample declares an app-owned CSV task with a native artifact tool.
NewApp wires the local artifact directory and registers a typed task. It
declares a model slot but does not construct or bind a model. The directory
must exist before the task runs; the test supplies t.TempDir().
type Input struct {
Rows [][]string `json:"rows"`
}
Input supplies already structured table cells, preserving their exact strings.
type Output struct {
Filename string `json:"filename"`
Rows int `json:"rows"`
}
Output identifies the artifact and the number of data rows, excluding headers.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.