Skip to content
New issue

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

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

Already on GitHub? # to your account

Modernize go dev environment #162

Merged
merged 6 commits into from
Sep 4, 2023

Commits on Sep 4, 2023

  1. Use bookworm as dev container

    agners committed Sep 4, 2023
    Configuration menu
    Copy the full SHA
    d24ae7e View commit details
    Browse the repository at this point in the history
  2. Use %w (wrapping format verb) for errors

    This allows to enable errorlint.
    agners committed Sep 4, 2023
    Configuration menu
    Copy the full SHA
    14b14b1 View commit details
    Browse the repository at this point in the history
  3. Avoid deprecated io/ioutil

    agners committed Sep 4, 2023
    Configuration menu
    Copy the full SHA
    87fc5fc View commit details
    Browse the repository at this point in the history
  4. Disable gosec linter

    The cmdline.txt is a system configuration, those are typically readable
    on a Linux system. The file is on a FAT partition anyways, so the file
    permissions are mandated by mount options anyways.
    agners committed Sep 4, 2023
    Configuration menu
    Copy the full SHA
    323e62f View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    d1262c5 View commit details
    Browse the repository at this point in the history
  6. Enable bugs linters

    Enable the preset bugs plus enable the default ones which are not part
    of the bugs preset explicitly.
    agners committed Sep 4, 2023
    Configuration menu
    Copy the full SHA
    757ea9a View commit details
    Browse the repository at this point in the history