Hi,
I tried to import this
github.com/aws/aws-sdk-go/service/sqs
using
mono ~/Documents/Elements/EBuild.exe --import-go-project github.com/aws/aws-sdk-go/service/sqs
I end up with 2 projects, one of which wont compile.
Building github.com.jmespath.go-jmespath gives
E: No member “FieldByName” on type “go.reflect.Value” [/Users/JohnMoshakis/Documents/develop/Go/sqs/github.com.jmespath.go-jmespath/interpreter.go (322)]
E: No member “FieldByName” on type “go.reflect.Value” [/Users/JohnMoshakis/Documents/develop/Go/sqs/github.com.jmespath.go-jmespath/interpreter.go (333)]
E: No static member “NewParser” on type “JMESPath” [/Users/JohnMoshakis/Documents/develop/Go/sqs/github.com.jmespath.go-jmespath/cmd/jpgo/main.go (52)]
E: Type mismatch, cannot assign “Error” to “Tuple” [/Users/JohnMoshakis/Documents/develop/Go/sqs/github.com.jmespath.go-jmespath/cmd/jpgo/main.go (53)]
E: Unknown identifier “err” [/Users/JohnMoshakis/Documents/develop/Go/sqs/github.com.jmespath.go-jmespath/cmd/jpgo/main.go (54)]
E: Unknown type “jmespath.SyntaxError” [/Users/JohnMoshakis/Documents/develop/Go/sqs/github.com.jmespath.go-jmespath/cmd/jpgo/main.go (55)]
E: Integer parameter for generic type not allowed here [/Users/JohnMoshakis/Documents/develop/Go/sqs/github.com.jmespath.go-jmespath/cmd/jpgo/main.go (55)]
E: Unknown identifier “err” [/Users/JohnMoshakis/Documents/develop/Go/sqs/github.com.jmespath.go-jmespath/cmd/jpgo/main.go (55)]
/Users/JohnMoshakis/Documents/develop/Go/sqs/github.com.jmespath.go-jmespath/cmd/jpgo/main.go(55,25): duplicate-error E46: Unknown identifier “err”
E: Type mismatch, cannot assign “Error” to “Tuple” [/Users/JohnMoshakis/Documents/develop/Go/sqs/github.com.jmespath.go-jmespath/cmd/jpgo/main.go (55)]
E: Unknown identifier “ok”, did you mean “go.html.template.ok”? [/Users/JohnMoshakis/Documents/develop/Go/sqs/github.com.jmespath.go-jmespath/cmd/jpgo/main.go (55)]
E: Unknown identifier “syntaxError”, did you mean “go.golang.org.x.net.webdav.internal.xml.syntaxError”? [/Users/JohnMoshakis/Documents/develop/Go/sqs/github.com.jmespath.go-jmespath/cmd/jpgo/main.go (56)]
E: Member “SyntaxError.HighlightLocation” of type “” is a expression but is used as a method [/Users/JohnMoshakis/Documents/develop/Go/sqs/github.com.jmespath.go-jmespath/cmd/jpgo/main.go (56)]
E: Unknown identifier “err” [/Users/JohnMoshakis/Documents/develop/Go/sqs/github.com.jmespath.go-jmespath/cmd/jpgo/main.go (58)]
E: Unknown identifier “parsed”, did you mean “go.flag.parsed”? [/Users/JohnMoshakis/Documents/develop/Go/sqs/github.com.jmespath.go-jmespath/cmd/jpgo/main.go (62)]
E: Unknown identifier “err” [/Users/JohnMoshakis/Documents/develop/Go/sqs/github.com.jmespath.go-jmespath/cmd/jpgo/main.go (68)]
E: Unknown identifier “err” [/Users/JohnMoshakis/Documents/develop/Go/sqs/github.com.jmespath.go-jmespath/cmd/jpgo/main.go (69)]
E: Unknown identifier “err” [/Users/JohnMoshakis/Documents/develop/Go/sqs/github.com.jmespath.go-jmespath/cmd/jpgo/main.go (70)]
E: Unknown identifier “err” [/Users/JohnMoshakis/Documents/develop/Go/sqs/github.com.jmespath.go-jmespath/cmd/jpgo/main.go (75)]
E: Unknown identifier “err” [/Users/JohnMoshakis/Documents/develop/Go/sqs/github.com.jmespath.go-jmespath/cmd/jpgo/main.go (76)]
E: Unknown identifier “err” [/Users/JohnMoshakis/Documents/develop/Go/sqs/github.com.jmespath.go-jmespath/cmd/jpgo/main.go (77)]
E: Parameter 1 is “go.builtin.string”, should be “Reference”, in call to JMESPath.Search(data: Object): Tuple<Object,go.builtin.error> [/Users/JohnMoshakis/Documents/develop/Go/sqs/github.com.jmespath.go-jmespath/cmd/jpgo/main.go (82)]
/Users/JohnMoshakis/Documents/develop/Go/sqs/github.com.jmespath.go-jmespath/cmd/jpgo/main.go(82,33): duplicate-error E486: Parameter 1 is “go.builtin.string”, should be “Reference”, in call to JMESPath.Search(data: Object): Tuple<Object,go.builtin.error>
E: Type mismatch, cannot assign “Error” to “Tuple” [/Users/JohnMoshakis/Documents/develop/Go/sqs/github.com.jmespath.go-jmespath/cmd/jpgo/main.go (82)]
E: Unknown identifier “err” [/Users/JohnMoshakis/Documents/develop/Go/sqs/github.com.jmespath.go-jmespath/cmd/jpgo/main.go (83)]
E: Unknown identifier “err” [/Users/JohnMoshakis/Documents/develop/Go/sqs/github.com.jmespath.go-jmespath/cmd/jpgo/main.go (84)]
E: Unknown identifier “result”, did you mean “go.internal.singleflight.result”? [/Users/JohnMoshakis/Documents/develop/Go/sqs/github.com.jmespath.go-jmespath/cmd/jpgo/main.go (86)]
/Users/JohnMoshakis/Documents/develop/Go/sqs/github.com.jmespath.go-jmespath/cmd/jpgo/main.go(86,36): duplicate-error E509: Unknown identifier “result”, did you mean “go.internal.singleflight.result”?
E: Type mismatch, cannot assign “Error” to “Tuple” [/Users/JohnMoshakis/Documents/develop/Go/sqs/github.com.jmespath.go-jmespath/cmd/jpgo/main.go (86)]
E: Unknown identifier “err” [/Users/JohnMoshakis/Documents/develop/Go/sqs/github.com.jmespath.go-jmespath/cmd/jpgo/main.go (87)]
E: Unknown identifier “err” [/Users/JohnMoshakis/Documents/develop/Go/sqs/github.com.jmespath.go-jmespath/cmd/jpgo/main.go (88)]
E: Unknown identifier “toJSON” [/Users/JohnMoshakis/Documents/develop/Go/sqs/github.com.jmespath.go-jmespath/cmd/jpgo/main.go (90)]
E: No static member “NewParser” on type “JMESPath” [/Users/JohnMoshakis/Documents/develop/Go/sqs/github.com.jmespath.go-jmespath/fuzz/jmespath.go (7)]
I watched a few videos on go, so I dont know if they are legit errors.
Thanks,
John