dear linter, using xerrors is what we want to do.
This commit is contained in:
		
							parent
							
								
									c7fdfb00bb
								
							
						
					
					
						commit
						65df0b81d9
					
				| @ -39,6 +39,7 @@ issues: | ||||
|     - "package comment should be of the form" | ||||
|     - "Potential hardcoded credentials" | ||||
|     - "Use of weak random number generator" | ||||
|     - "xerrors.* is deprecated" | ||||
| 
 | ||||
|   exclude-use-default: false | ||||
|   exclude-rules: | ||||
| @ -53,7 +54,7 @@ issues: | ||||
|     - path: build/params_.*\.go | ||||
|       linters: | ||||
|         - golint | ||||
|            | ||||
| 
 | ||||
|     - path: api/apistruct/struct.go | ||||
|       linters: | ||||
|         - golint | ||||
|  | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user