IBM / go-sdk-core

The go-sdk-core repository contains core functionality required by Go code generated by the IBM OpenAPI SDK Generator.
Apache License 2.0
30 stars 24 forks source link

build: use `goimports` to format code and check during builds #200

Closed pyrooka closed 11 months ago

pyrooka commented 11 months ago

This commit adds a new check to the lint step in the builds, which utilizes the goimports tool to check the code style and to report an error if there is a discrepancy. Furthermore it adds a new make target to automatically format all code in place.

ibm-devx-sdk commented 11 months ago

:tada: This PR is included in version 5.15.0 :tada:

The release is available on GitHub release

Your semantic-release bot :package::rocket: