diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 3dc5e88..80b7765 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -61,7 +61,7 @@ jobs: steps: - name: Install Go env: - GO_COMMIT: 3b5eec937018be98549dea7067964018f0e5824c # 2022-01-14 + GO_COMMIT: e50f0f372b07149e9cf16b8fec80d2d72efe2a87 # 2022-02-11 run: | cd $HOME mkdir $HOME/gotip diff --git a/internal/asthelper/asthelper.go b/internal/asthelper/asthelper.go index c941713..5586c2f 100644 --- a/internal/asthelper/asthelper.go +++ b/internal/asthelper/asthelper.go @@ -65,7 +65,7 @@ func ReturnStmt(results ...ast.Expr) *ast.ReturnStmt { } } -// BlockStmt a block of multiple statments e.g. a function body +// BlockStmt a block of multiple statements e.g. a function body func BlockStmt(stmts ...ast.Stmt) *ast.BlockStmt { return &ast.BlockStmt{List: stmts} } diff --git a/internal/literals/literals.go b/internal/literals/literals.go index fedb65b..e6ee396 100644 --- a/internal/literals/literals.go +++ b/internal/literals/literals.go @@ -154,7 +154,7 @@ func Obfuscate(file *ast.File, info *types.Info, fset *token.FileSet, linkString file = astutil.Apply(file, pre, post).(*ast.File) - // some imported constants might not be needed anymore, remove unnessecary imports + // some imported constants might not be needed anymore, remove unnecessary imports for _, imp := range file.Imports { path, err := strconv.Unquote(imp.Path.Value) if err != nil {