File tree Expand file tree Collapse file tree 5 files changed +4
-20
lines changed Expand file tree Collapse file tree 5 files changed +4
-20
lines changed Original file line number Diff line number Diff line change @@ -57,12 +57,12 @@ jobs:
57
57
fi
58
58
59
59
- name : staticcheck .
60
- run : staticcheck -checks "inherit,-U1000" ./...
60
+ run : staticcheck ./...
61
61
62
62
- name : staticcheck ./examples
63
63
working-directory : ./examples
64
- run : staticcheck -checks "inherit,-U1000" ./...
64
+ run : staticcheck ./...
65
65
66
66
- name : staticcheck ./benchmarks
67
67
working-directory : ./benchmarks
68
- run : staticcheck -checks "inherit,-U1000" ./...
68
+ run : staticcheck ./...
Original file line number Diff line number Diff line change @@ -3011,13 +3011,6 @@ func date(v string) civil.Date {
3011
3011
return res
3012
3012
}
3013
3013
3014
- func nullDate (valid bool , v string ) spanner.NullDate {
3015
- if ! valid {
3016
- return spanner.NullDate {}
3017
- }
3018
- return spanner.NullDate {Valid : true , Date : date (v )}
3019
- }
3020
-
3021
3014
func nullJson (valid bool , v string ) spanner.NullJSON {
3022
3015
if ! valid {
3023
3016
return spanner.NullJSON {}
Original file line number Diff line number Diff line change @@ -245,12 +245,6 @@ func skipIfShort(t *testing.T) {
245
245
}
246
246
}
247
247
248
- func skipIfEmulator (t * testing.T , msg string ) {
249
- if runsOnEmulator () {
250
- t .Skip (msg )
251
- }
252
- }
253
-
254
248
func TestQueryContext (t * testing.T ) {
255
249
skipIfShort (t )
256
250
t .Parallel ()
Original file line number Diff line number Diff line change @@ -336,8 +336,7 @@ type clientSideStatement struct {
336
336
ResultType string `json:"resultType"`
337
337
Regex string `json:"regex"`
338
338
regexp * regexp.Regexp
339
- MethodName string `json:"method"`
340
- method func (query string ) error
339
+ MethodName string `json:"method"`
341
340
ExampleStatements []string `json:"exampleStatements"`
342
341
ExamplePrerequisiteStatements []string `json:"examplePrerequisiteStatements"`
343
342
Original file line number Diff line number Diff line change @@ -34,8 +34,6 @@ import (
34
34
// server and will return a one-col-two-rows result set containing the INT64
35
35
// values 1 and 2.
36
36
const SelectFooFromBar = "SELECT FOO FROM BAR"
37
- const selectFooFromBarRowCount int64 = 2
38
- const selectFooFromBarColCount int = 1
39
37
40
38
var selectFooFromBarResults = []int64 {1 , 2 }
41
39
You can’t perform that action at this time.
0 commit comments