Skip to content

Commit

Permalink
Fixed an issue where io package was declared twice
Browse files Browse the repository at this point in the history
  • Loading branch information
VShingala committed Jul 29, 2024
1 parent 21ab0a0 commit 4de6013
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion codegens/golang/lib/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -238,7 +238,7 @@ self = module.exports = {
}
if (isFile) {
codeSnippet += `${indent}"os"\n${indent}"path/filepath"\n`;
codeSnippet += `${indent}"io"\n`;

// Setting isFile as false for further calls to this function
isFile = false;
}
Expand Down

0 comments on commit 4de6013

Please sign in to comment.