Skip to content

Commit ff78f99

Browse files
Transitional commit
Adds easyjson to execResponseRowType
1 parent 5140033 commit ff78f99

File tree

3 files changed

+130
-100
lines changed

3 files changed

+130
-100
lines changed

export.go

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,3 +58,8 @@ func (sr *snowflakeResult) SetExecResponse(er *ExecResponse) {
5858
func StringToValue(dest *driver.Value, srcColumnMeta execResponseRowType, srcValue *string, loc *time.Location) error {
5959
return stringToValue(dest, srcColumnMeta, srcValue, loc)
6060
}
61+
62+
// ExecResponseRowTypeEquals exports execResponseRowTypeEquals
63+
func ExecResponseRowTypeEquals(a, b ExecResponseRowType) bool {
64+
return a == b
65+
}

query.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@ type contextData struct {
4646
Base64Data string `json:"base64Data,omitempty"`
4747
}
4848

49+
//easyjson:json
4950
type execResponseRowType struct {
5051
Name string `json:"name"`
5152
ByteLength int64 `json:"byteLength"`

query_easyjson.go

Lines changed: 124 additions & 100 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)