From 7270c66f1ee09cfa75d21d63b2d0a06b0efd5121 Mon Sep 17 00:00:00 2001 From: Kevin Cotugno Date: Thu, 28 Sep 2017 21:41:33 -0700 Subject: [PATCH] Don't use ruby naming :grimacing: --- cmd/watcher/validator.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cmd/watcher/validator.go b/cmd/watcher/validator.go index 889a228..d36f92e 100644 --- a/cmd/watcher/validator.go +++ b/cmd/watcher/validator.go @@ -44,13 +44,13 @@ func (v *validator) validate(products ...string) { }() } -func (v *validator) emit_products(products ...string) { +func (v *validator) emitProducts(products ...string) { for _, p := range products { go v.validate_product(p) } } -func (v *validator) validate_product(product string) { +func (v *validator) validateProduct(product string) { v.logger.Info("Staring validation of %v", product) results, err := v.db.TradeService().TradesAfterAll(product, 0)