Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cmd: Move definitions here as described in GSP-139 #652

Merged
merged 1 commit into from Jul 9, 2021
Merged

Conversation

Xuanwo
Copy link
Contributor

@Xuanwo Xuanwo commented Jul 9, 2021

Maybe we can refactor them later, but in this PR, we just copy them here.

Signed-off-by: Xuanwo github@xuanwo.io

Signed-off-by: Xuanwo <github@xuanwo.io>
@codecov
Copy link

codecov bot commented Jul 9, 2021

Codecov Report

Merging #652 (7162ab6) into master (8ef8f51) will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master     #652   +/-   ##
=======================================
  Coverage   17.57%   17.57%           
=======================================
  Files          19       19           
  Lines         768      768           
=======================================
  Hits          135      135           
  Misses        626      626           
  Partials        7        7           
Flag Coverage Δ
unittests 17.57% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.


Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 8ef8f51...7162ab6. Read the comment docs.

@Xuanwo Xuanwo requested review from a team July 9, 2021 04:40
@@ -120,7 +121,7 @@ type Pair struct {
}

func (p *Pair) Type() string {
return parseType(p.ptype)
return p.ptype
Copy link
Contributor

Choose a reason for hiding this comment

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

Why this is changed?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Because we won't share definitions across languages, so we can remove the extra type translation layer here.

@Xuanwo Xuanwo merged commit 793dd83 into master Jul 9, 2021
@Xuanwo Xuanwo deleted the gsp-139 branch July 9, 2021 06:40
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.

None yet

2 participants