package model type IOType string const ( Input IOType = "input" Output IOType = "output" ) type IO[T any] interface { ReadData(limit int, query map[string]any, fields []string, sort []string) ([]T, error) WriteData([]T) (int, error) }