Don't use ruby naming 😬

This commit is contained in:
Kevin Cotugno 2017-09-28 21:41:33 -07:00
parent eae143d33c
commit 7270c66f1e

View File

@ -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)