mirror of
https://github.com/turbot/steampipe.git
synced 2026-05-07 06:01:07 -04:00
18 lines
601 B
Go
18 lines
601 B
Go
package queryresult
|
|
|
|
import "github.com/turbot/pipe-fittings/v2/queryresult"
|
|
|
|
// Result is a type alias for queryresult.Result[TimingResultStream]
|
|
type Result = queryresult.Result[TimingResultStream]
|
|
|
|
func NewResult(cols []*queryresult.ColumnDef) *Result {
|
|
return queryresult.NewResult[TimingResultStream](cols, NewTimingResultStream())
|
|
}
|
|
|
|
// ResultStreamer is a type alias for queryresult.ResultStreamer[TimingResultStream]
|
|
type ResultStreamer = queryresult.ResultStreamer[TimingResultStream]
|
|
|
|
func NewResultStreamer() *ResultStreamer {
|
|
return queryresult.NewResultStreamer[TimingResultStream]()
|
|
}
|