Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: Remove gomonkey dependency from formatter #1192

Merged
merged 3 commits into from Apr 29, 2022

Commits on Apr 28, 2022

  1. chore: rename formater -> formatter

    Atte Kojo committed Apr 28, 2022
    Copy the full SHA
    fb83b4d View commit details
    Browse the repository at this point in the history
  2. chore: move format tree walking code to format/

    Move directory tree walking code from Formatter to format/ package that
    handles `fmt` subcommand.
    Atte Kojo committed Apr 28, 2022
    Copy the full SHA
    974202d View commit details
    Browse the repository at this point in the history
  3. chore: Move file format handling code to format/format.go

    - Handle file open/read/update in format/format.go
    - Only handle formatting file contents in formatter.go
    - Write tests against formatter public API only
    - Clean up formatter code
    Atte Kojo committed Apr 28, 2022
    Copy the full SHA
    bbbb6c5 View commit details
    Browse the repository at this point in the history