Add struct definition for WeatherInfoFilter #44
Annotations
13 errors and 1 warning
build:
struct.go#L94
invalid operation: warning.reported_at >= filterOption.StartTime.String() (mismatched types time.Time and string)
|
build:
struct.go#L94
invalid operation: warning.reported_at <= filterOption.EndTime.String() (mismatched types time.Time and string)
|
build:
struct.go#L116
cannot use filterOption.StartTime (variable of type optional.Option[time.Time]) as time.Time value in argument to earthquake.reported_at.After
|
build
Process completed with exit code 1.
|
test:
struct.go#L94
invalid operation: warning.reported_at >= filterOption.StartTime.String() (mismatched types time.Time and string)
|
test:
struct.go#L94
invalid operation: warning.reported_at <= filterOption.EndTime.String() (mismatched types time.Time and string)
|
test:
struct.go#L116
cannot use filterOption.StartTime (variable of type optional.Option[time.Time]) as time.Time value in argument to earthquake.reported_at.After
|
test:
struct_test.go#L12
cannot use "2023-01-01T10:00:00Z" (untyped string constant) as time.Time value in struct literal
|
test:
struct_test.go#L13
cannot use "2023-01-02T10:00:00Z" (untyped string constant) as time.Time value in struct literal
|
test:
struct_test.go#L14
cannot use "2023-01-03T10:00:00Z" (untyped string constant) as time.Time value in struct literal
|
test:
struct_test.go#L74
cannot use "2023-01-01T10:00:00Z" (untyped string constant) as time.Time value in struct literal
|
test:
struct_test.go#L75
cannot use "2023-01-02T10:00:00Z" (untyped string constant) as time.Time value in struct literal
|
test:
struct_test.go#L76
cannot use "2023-01-03T10:00:00Z" (untyped string constant) as time.Time value in struct literal
|
test
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/github-script@v6. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|