diff options
| author | horus | 2018-02-12 22:53:28 +0100 |
|---|---|---|
| committer | horus | 2018-02-12 22:53:28 +0100 |
| commit | f4a905f93824b91a56b3fb7117438935ea16286f (patch) | |
| tree | a3bb5a2f755194c63b449345259661d8e0db9ff7 /crawler/convert_price.go | |
| parent | 87c347bfb51895499cc862a33453df9945a4656e (diff) | |
| download | alkobote-f4a905f93824b91a56b3fb7117438935ea16286f.tar.gz | |
Improvements, bug fixes, more utility functions, etc... (crawler)
Diffstat (limited to 'crawler/convert_price.go')
| -rw-r--r-- | crawler/convert_price.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crawler/convert_price.go b/crawler/convert_price.go index a76c067..2d2bc1a 100644 --- a/crawler/convert_price.go +++ b/crawler/convert_price.go @@ -10,7 +10,7 @@ import ( func convert_price(price string) (int, error) { if "" == price { - return 0, errors.New("Empty string") + return 0, errors.New("convert_price: Empty string") } multiply_by_10 := false |
