Skip to content

add ToStruct method to go sdk#33

Merged
smacker merged 1 commit intosrc-d:masterfrom
smacker:go_sdk_to_struct
Nov 23, 2018
Merged

add ToStruct method to go sdk#33
smacker merged 1 commit intosrc-d:masterfrom
smacker:go_sdk_to_struct

Conversation

@smacker
Copy link
Copy Markdown
Contributor

@smacker smacker commented Nov 23, 2018

move ToStruct methods from lookout to sdk.

It's easy to work with protobuf structs in other languages, for example python. But a lot of pain in go.

Analyzers need this method for unit testing.

Signed-off-by: Maxim Sukharev <max@smacker.ru>
Copy link
Copy Markdown
Contributor

@carlosms carlosms left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Is there a reason for it to be ToPBStruct in lookout and ToStruct here?

@smacker
Copy link
Copy Markdown
Contributor Author

smacker commented Nov 23, 2018

package name

@smacker smacker merged commit 29b8d66 into src-d:master Nov 23, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants