Only cd into directories
Run goimports
Use onResize() instead of reshape()