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:
220220 *  Under "Run"->"Edit Configurations..."->"Templates"->"Go Test", add ` COMPLEMENT_BASE_IMAGE=complement-dendrite:latest ` 
221221 *  Then you can right-click on any test file or test case and "Run <test  name >".
222222
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 ` .
223232
224233### How do I hook up a Matrix client like Element to the homeservers spun up by Complement after a test runs?  
225234
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments