Use consistent order for imports
What does this MR do?
Add a Make target, go-fmt
, which orders Go imports. The go-fmt
CI job uses the same target.
Imports are ordered and grouped as follows:
import (
// built in packages
// other project packages
// this project packages
)
Reference
Edited by Cameron Swords