File tree Expand file tree Collapse file tree 3 files changed +11
-11
lines changed Expand file tree Collapse file tree 3 files changed +11
-11
lines changed Original file line number Diff line number Diff line change @@ -82,9 +82,9 @@ export function getImportPathWithVersion(
8282 if ( goVersion . lt ( '1.21' ) ) return importPath + '@v0.4.7' ;
8383 }
8484 if ( tool . name === 'gofumpt' ) {
85- if ( goVersion . lt ( '1.19' ) ) return importPath + '@v0.4.0' ;
86- if ( goVersion . lt ( '1.20' ) ) return importPath + '@v0.5.0' ;
87- if ( goVersion . lt ( '1.21 ' ) ) return importPath + '@v0.6.0' ;
85+ if ( goVersion . lt ( '1.19' ) ) return importPath + '@v0.4.0' ; // pre-go1.19
86+ if ( goVersion . lt ( '1.20' ) ) return importPath + '@v0.5.0' ; // go1.19
87+ if ( goVersion . lt ( '1.22 ' ) ) return importPath + '@v0.6.0' ; // go1.20~1.21
8888 }
8989 if ( tool . name === 'golangci-lint' ) {
9090 if ( goVersion . lt ( '1.20' ) ) return importPath + '@v1.53.3' ;
Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ export const allToolsInformation: { [key: string]: Tool } = {
1212 replacedByGopls : false ,
1313 isImportant : false ,
1414 description : 'Modify tags on structs' ,
15- defaultVersion : 'v1.16 .0'
15+ defaultVersion : 'v1.17 .0'
1616 } ,
1717 'goplay' : {
1818 name : 'goplay' ,
@@ -30,7 +30,7 @@ export const allToolsInformation: { [key: string]: Tool } = {
3030 replacedByGopls : false ,
3131 isImportant : false ,
3232 description : 'Stubs for interfaces' ,
33- defaultVersion : 'v1.1 .0'
33+ defaultVersion : 'v1.4 .0'
3434 } ,
3535 'gofumpt' : {
3636 name : 'gofumpt' ,
@@ -39,7 +39,7 @@ export const allToolsInformation: { [key: string]: Tool } = {
3939 replacedByGopls : true ,
4040 isImportant : false ,
4141 description : 'Formatter' ,
42- defaultVersion : 'v0.6 .0'
42+ defaultVersion : 'v0.7 .0'
4343 } ,
4444 'goimports' : {
4545 name : 'goimports' ,
@@ -92,7 +92,7 @@ export const allToolsInformation: { [key: string]: Tool } = {
9292 modulePath : 'github.com/mgechev/revive' ,
9393 isImportant : true ,
9494 description : 'Linter' ,
95- defaultVersion : 'v1.3.4 '
95+ defaultVersion : 'v1.3.9 '
9696 } ,
9797 'gopls' : {
9898 name : 'gopls' ,
Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ export const allToolsInformation: { [key: string]: Tool } = {
1010 replacedByGopls: false,
1111 isImportant: false,
1212 description: 'Modify tags on structs',
13- defaultVersion: 'v1.16 .0'
13+ defaultVersion: 'v1.17 .0'
1414 },
1515 'goplay': {
1616 name: 'goplay',
@@ -28,7 +28,7 @@ export const allToolsInformation: { [key: string]: Tool } = {
2828 replacedByGopls: false,
2929 isImportant: false,
3030 description: 'Stubs for interfaces',
31- defaultVersion: 'v1.1 .0'
31+ defaultVersion: 'v1.4 .0'
3232 },
3333 'gofumpt': {
3434 name: 'gofumpt',
@@ -37,7 +37,7 @@ export const allToolsInformation: { [key: string]: Tool } = {
3737 replacedByGopls: true,
3838 isImportant: false,
3939 description: 'Formatter',
40- defaultVersion: 'v0.6 .0'
40+ defaultVersion: 'v0.7 .0'
4141 },
4242 'goimports': {
4343 name: 'goimports',
@@ -90,7 +90,7 @@ export const allToolsInformation: { [key: string]: Tool } = {
9090 modulePath: 'github.com/mgechev/revive',
9191 isImportant: true,
9292 description: 'Linter',
93- defaultVersion: 'v1.3.4 '
93+ defaultVersion: 'v1.3.9 '
9494 },
9595 'gopls': {
9696 name: 'gopls',
You can’t perform that action at this time.
0 commit comments