ivysochyn / apartment-parser

Apache License 2.0
0 stars 0 forks source link

Refactor code #6

Closed ivysochyn closed 1 year ago

ivysochyn commented 1 year ago

The code gets more complex, and parsing functions are huge. The task is to separate them from the main.go file into the utils/ sub-package of the project and refactor parsing functions for more human readability.

ivysochyn commented 1 year ago

Created the parser subpackage where corresponding functions were stored.

Reduced amount of code by removing functions to save and read from file HTML pages, it saves a lot of runtime time.

ivysochyn commented 1 year ago

Changes were merged.