github.com/TrueBlocks/trueblocks-core/src/apps/chifra@v0.0.0-20241022031540-b362680128f7/internal/scrape/handle_touch.go (about) 1 // Copyright 2021 The TrueBlocks Authors. All rights reserved. 2 // Use of this source code is governed by a license that can 3 // be found in the LICENSE file. 4 5 package scrapePkg 6 7 import ( 8 "fmt" 9 10 "github.com/TrueBlocks/trueblocks-core/src/apps/chifra/pkg/output" 11 "github.com/TrueBlocks/trueblocks-core/src/apps/chifra/pkg/types" 12 ) 13 14 func (opts *ScrapeOptions) HandleTouch(rCtx *output.RenderCtx) error { 15 fetchData := func(modelChan chan types.Modeler, errorChan chan error) { 16 errorChan <- fmt.Errorf("chifra scrape --touch is not yet implemented") 17 } 18 return output.StreamMany(rCtx, fetchData, opts.Globals.OutputOpts()) 19 }