Skip to content

Commit

Permalink
Address feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
xichen2020 committed Mar 2, 2019
1 parent 0bf3a89 commit 98828e5
Show file tree
Hide file tree
Showing 4 changed files with 824 additions and 823 deletions.
3 changes: 2 additions & 1 deletion calculation/value.go
Original file line number Diff line number Diff line change
Expand Up @@ -59,8 +59,9 @@ func (u ValueUnion) ToProto() servicepb.CalculationValue {
Type: servicepb.CalculationValue_STRING,
StringVal: u.StringVal,
}
default:
panic(fmt.Errorf("unexpected calculation value type %v", u.Type))
}
panic(fmt.Errorf("unexpected calculation value type %v", u.Type))
}

// NewNumberUnion creates a new number union.
Expand Down
10 changes: 5 additions & 5 deletions generated/proto/servicepb/document.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 98828e5

Please sign in to comment.