From 5bce1675121bfcc6ce50566269384efcf9589572 Mon Sep 17 00:00:00 2001 From: Maykel Arias Torres Date: Sun, 19 Jan 2020 19:08:51 -0500 Subject: [PATCH] [cmd] refs #17 Remove old varname `dealOutStringAsGostring` --- src/cmd/cgogen.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/cmd/cgogen.go b/src/cmd/cgogen.go index 484a82b..73aaa94 100644 --- a/src/cmd/cgogen.go +++ b/src/cmd/cgogen.go @@ -81,13 +81,12 @@ var arrayTypes = map[string]string{ } //Imports used in this code file -var importDefs [](*ast.GenDecl) +var importDefs []*ast.GenDecl //types that will be replaced by handles var handleTypes map[string]string var returnVarName = "____error_code" var returnErrName = "____return_err" -var dealOutStringAsGostring = true func main() { handleTypes = make(map[string]string)