Skip to content
This repository has been archived by the owner on Sep 6, 2023. It is now read-only.

Fix/gofmt and read cert cleanup #64

Merged
merged 3 commits into from
Aug 25, 2023

Commits on Aug 25, 2023

  1. Run gofmt and commit changes.

    These are whitespace only changes, the result of running gofmt.
    
    Signed-off-by: Scott Moser <[email protected]>
    smoser committed Aug 25, 2023
    Configuration menu
    Copy the full SHA
    1bfd3eb View commit details
    Browse the repository at this point in the history
  2. Add a 'gofmt' target for make and call it as a trust dep and from c-i

    My editor automatically runs 'gofmt'.  So its annoying to open a file,
    make a change and see a bunch of whitespace unrelated changes in place.
    Ok, maybe I should fix my editor, but really 'gofmt' code is the norm.
    
    The change here is to run gofmt and fail the build if it makes changes.
    That way those changes don't get checked in and don't pass c-i if it
    hasn't run.
    
    Signed-off-by: Scott Moser <[email protected]>
    smoser committed Aug 25, 2023
    Configuration menu
    Copy the full SHA
    6f4fded View commit details
    Browse the repository at this point in the history
  3. Reduce code in extractPubkey by using readCertificateFromFile.

    Less software in the world.
    
    Signed-off-by: Scott Moser <[email protected]>
    smoser committed Aug 25, 2023
    Configuration menu
    Copy the full SHA
    8eecf3c View commit details
    Browse the repository at this point in the history