goimports -w

This commit is contained in:
Ian Norden
2019-12-02 13:24:50 -06:00
parent 671a324294
commit 5ebe2243d8
42 changed files with 257 additions and 40 deletions
-1
View File
@@ -98,7 +98,6 @@ func (i *Processor) Process(wg *sync.WaitGroup) error {
case err = <-sub.Err():
log.Error(err)
case <-i.QuitChan:
println("quiting")
log.Info("quiting IPFSProcessor")
wg.Done()
return
@@ -14,18 +14,4 @@
// You should have received a copy of the GNU Affero General Public License
// along with this program. If not, see <http://www.gnu.org/licenses/>.
package mocks
import "github.com/vulcanize/vulcanizedb/pkg/ipfs"
// CIDRepository is the underlying struct for the Repository interface
type CIDRepository struct {
PassedCIDPayload *ipfs.CIDPayload
ReturnErr error
}
// Index indexes a cidPayload in Postgres
func (repo *CIDRepository) Index(cidPayload *ipfs.CIDPayload) error {
repo.PassedCIDPayload = cidPayload
return repo.ReturnErr
}
package ipfs