fix: panic when write code cross-page #117
Annotations
20 errors
lint:
internal/unsafereflect/type.go#L94
File is not `gofumpt`-ed with `-extra` (gofumpt)
|
lint:
internal/unsafereflect/type.go#L145
func `(*funcType).in` is unused (unused)
|
lint:
internal/unsafereflect/type.go#L156
func `(*funcType).out` is unused (unused)
|
lint:
internal/unsafereflect/type.go#L185
field `name` is unused (unused)
|
lint:
internal/unsafereflect/type.go#L186
field `typ` is unused (unused)
|
lint:
internal/unsafereflect/type.go#L226
field `mtyp` is unused (unused)
|
lint:
internal/unsafereflect/type.go#L227
field `ifn` is unused (unused)
|
lint:
internal/unsafereflect/type.go#L240
field `name` is unused (unused)
|
lint:
internal/unsafereflect/type.go#L241
field `typ` is unused (unused)
|
lint:
internal/unsafereflect/type.go#L242
field `offset` is unused (unused)
|
staticcheck:
internal/unsafereflect/type.go#L145
[staticcheck] reported by reviewdog 🐶
func (*funcType).in is unused
Raw Output:
{"source":{"name":"staticcheck","url":"https://staticcheck.io"},"message":"func (*funcType).in is unused","code":{"value":"U1000","url":"https://staticcheck.io/docs/checks#U1000"},"location":{"path":"/home/runner/work/mockey/mockey/internal/unsafereflect/type.go","range":{"start":{"line":145,"column":20}}},"severity":"ERROR"}
|
staticcheck:
internal/unsafereflect/type.go#L156
[staticcheck] reported by reviewdog 🐶
func (*funcType).out is unused
Raw Output:
{"source":{"name":"staticcheck","url":"https://staticcheck.io"},"message":"func (*funcType).out is unused","code":{"value":"U1000","url":"https://staticcheck.io/docs/checks#U1000"},"location":{"path":"/home/runner/work/mockey/mockey/internal/unsafereflect/type.go","range":{"start":{"line":156,"column":20}}},"severity":"ERROR"}
|
staticcheck:
internal/unsafereflect/type.go#L185
[staticcheck] reported by reviewdog 🐶
field name is unused
Raw Output:
{"source":{"name":"staticcheck","url":"https://staticcheck.io"},"message":"field name is unused","code":{"value":"U1000","url":"https://staticcheck.io/docs/checks#U1000"},"location":{"path":"/home/runner/work/mockey/mockey/internal/unsafereflect/type.go","range":{"start":{"line":185,"column":2}}},"severity":"ERROR"}
|
staticcheck:
internal/unsafereflect/type.go#L186
[staticcheck] reported by reviewdog 🐶
field typ is unused
Raw Output:
{"source":{"name":"staticcheck","url":"https://staticcheck.io"},"message":"field typ is unused","code":{"value":"U1000","url":"https://staticcheck.io/docs/checks#U1000"},"location":{"path":"/home/runner/work/mockey/mockey/internal/unsafereflect/type.go","range":{"start":{"line":186,"column":2}}},"severity":"ERROR"}
|
staticcheck:
internal/unsafereflect/type.go#L226
[staticcheck] reported by reviewdog 🐶
field mtyp is unused
Raw Output:
{"source":{"name":"staticcheck","url":"https://staticcheck.io"},"message":"field mtyp is unused","code":{"value":"U1000","url":"https://staticcheck.io/docs/checks#U1000"},"location":{"path":"/home/runner/work/mockey/mockey/internal/unsafereflect/type.go","range":{"start":{"line":226,"column":2}}},"severity":"ERROR"}
|
staticcheck:
internal/unsafereflect/type.go#L227
[staticcheck] reported by reviewdog 🐶
field ifn is unused
Raw Output:
{"source":{"name":"staticcheck","url":"https://staticcheck.io"},"message":"field ifn is unused","code":{"value":"U1000","url":"https://staticcheck.io/docs/checks#U1000"},"location":{"path":"/home/runner/work/mockey/mockey/internal/unsafereflect/type.go","range":{"start":{"line":227,"column":2}}},"severity":"ERROR"}
|
staticcheck:
internal/unsafereflect/type.go#L240
[staticcheck] reported by reviewdog 🐶
field name is unused
Raw Output:
{"source":{"name":"staticcheck","url":"https://staticcheck.io"},"message":"field name is unused","code":{"value":"U1000","url":"https://staticcheck.io/docs/checks#U1000"},"location":{"path":"/home/runner/work/mockey/mockey/internal/unsafereflect/type.go","range":{"start":{"line":240,"column":2}}},"severity":"ERROR"}
|
staticcheck:
internal/unsafereflect/type.go#L241
[staticcheck] reported by reviewdog 🐶
field typ is unused
Raw Output:
{"source":{"name":"staticcheck","url":"https://staticcheck.io"},"message":"field typ is unused","code":{"value":"U1000","url":"https://staticcheck.io/docs/checks#U1000"},"location":{"path":"/home/runner/work/mockey/mockey/internal/unsafereflect/type.go","range":{"start":{"line":241,"column":2}}},"severity":"ERROR"}
|
staticcheck:
internal/unsafereflect/type.go#L242
[staticcheck] reported by reviewdog 🐶
field offset is unused
Raw Output:
{"source":{"name":"staticcheck","url":"https://staticcheck.io"},"message":"field offset is unused","code":{"value":"U1000","url":"https://staticcheck.io/docs/checks#U1000"},"location":{"path":"/home/runner/work/mockey/mockey/internal/unsafereflect/type.go","range":{"start":{"line":242,"column":2}}},"severity":"ERROR"}
|
staticcheck
Process completed with exit code 1.
|