You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: devel/contributing/code-generation.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -13,6 +13,6 @@ Here is a description of each sub-target and its purpose:
13
13
|`go-generate-mocks`| Invokes all mockgen generate directives in the repo | There is an interface API change | 2:30-3m |
14
14
|`mod-download`| Calls `go mod download all`| Dependencies are not all present locally | 1s (if deps are already downloaded) |
15
15
|`mod-tidy`| Calls `go mod tidy`| Dependencies have been added, updated, or removed | 1-2s |
16
-
|`fmt`| Runs [`goimports`](https://pkg.go.dev/golang.org/x/tools/cmd/goimports)which updates imports and formats code | Code has been modified (any change, in case it's not properly formatted) | 9-13s |
16
+
|`fmt`| Runs golangci-lint with the `gci` formatter which organizes imports and formats code | Code has been modified (any change, in case it's not properly formatted) | 9-13s |
17
17
|`clean-gen`| Removes files generated by codegen | An existing generated file may no longer be generated by codegen (rare) | 3s |
18
18
|`generate-licenses`| Generates docs files containing attribution for all dependencies which require it | There is a new dependency or a depency bump | 7-12s |
0 commit comments