File tree Expand file tree Collapse file tree 1 file changed +9
-0
lines changed Expand file tree Collapse file tree 1 file changed +9
-0
lines changed Original file line number Diff line number Diff line change @@ -220,6 +220,15 @@ For Goland:
220
220
* Under "Run"->"Edit Configurations..."->"Templates"->"Go Test", add ` COMPLEMENT_BASE_IMAGE=complement-dendrite:latest `
221
221
* Then you can right-click on any test file or test case and "Run <test name >".
222
222
223
+
224
+ ### How do I make the linter checks pass?
225
+
226
+ Use [ ` goimports ` ] ( https://pkg.go.dev/golang.org/x/tools/cmd/goimports ) to sort imports and format in the style of ` gofmt ` .
227
+
228
+ Set this up to run on save in VSCode as follows:
229
+ - File -> Preferences -> Settings.
230
+ - Search for "Format On Save" and enable it.
231
+ - Search for ` go: format tool ` and choose ` goimports ` .
223
232
224
233
### How do I hook up a Matrix client like Element to the homeservers spun up by Complement after a test runs?
225
234
You can’t perform that action at this time.
0 commit comments