feat: add sse with reverseproxy example #391
pr-check.yml
on: pull_request
compliant
24s
staticcheck
2m 25s
Annotations
8 errors
staticcheck
[staticcheck] reported by reviewdog 🐶
# github.com/choleraehyq/pid
/root/go/pkg/mod/github.com/choleraehyq/[email protected]/pid_go1.5_amd64.s:44: expected pseudo-register; found R13
/root/go/pkg/mod/github.com/choleraehyq/[email protected]/pid_go1.5_amd64.s:45: expected pseudo-register; found R14
asm: assembly of /root/go/pkg/mod/github.com/choleraehyq/[email protected]/pid_go1.5_amd64.s failed
Raw Output:
{"source":{"name":"staticcheck","url":"https://staticcheck.io"},"message":"# github.com/choleraehyq/pid\n/root/go/pkg/mod/github.com/choleraehyq/[email protected]/pid_go1.5_amd64.s:44: expected pseudo-register; found R13\n/root/go/pkg/mod/github.com/choleraehyq/[email protected]/pid_go1.5_amd64.s:45: expected pseudo-register; found R14\nasm: assembly of /root/go/pkg/mod/github.com/choleraehyq/[email protected]/pid_go1.5_amd64.s failed","code":{"value":"compile","url":"https://staticcheck.io/docs/checks#compile"},"location":{"path":"","range":{"start":{"line":0,"column":0}}},"severity":"ERROR"}
|
staticcheck
[staticcheck] reported by reviewdog 🐶
# github.com/cloudwego/frugal/internal/loader
/root/go/pkg/mod/github.com/cloudwego/[email protected]/internal/loader/funcdata.go:32:22: undefined: _ModuleData
/root/go/pkg/mod/github.com/cloudwego/[email protected]/internal/loader/funcdata.go:35:27: undefined: _ModuleData
/root/go/pkg/mod/github.com/cloudwego/[email protected]/internal/loader/funcdata.go:39:16: undefined: _ModuleData
/root/go/pkg/mod/github.com/cloudwego/[email protected]/internal/loader/funcdata.go:75:26: undefined: _ModuleData
/root/go/pkg/mod/github.com/cloudwego/[email protected]/internal/loader/funcdata_invalid.go:27:9: panic("Unsupported Go version. Supported versions are 1.16 ~ 1.20") (no value) used as value
Raw Output:
{"source":{"name":"staticcheck","url":"https://staticcheck.io"},"message":"# github.com/cloudwego/frugal/internal/loader\n/root/go/pkg/mod/github.com/cloudwego/[email protected]/internal/loader/funcdata.go:32:22: undefined: _ModuleData\n/root/go/pkg/mod/github.com/cloudwego/[email protected]/internal/loader/funcdata.go:35:27: undefined: _ModuleData\n/root/go/pkg/mod/github.com/cloudwego/[email protected]/internal/loader/funcdata.go:39:16: undefined: _ModuleData\n/root/go/pkg/mod/github.com/cloudwego/[email protected]/internal/loader/funcdata.go:75:26: undefined: _ModuleData\n/root/go/pkg/mod/github.com/cloudwego/[email protected]/internal/loader/funcdata_invalid.go:27:9: panic(\"Unsupported Go version. Supported versions are 1.16 ~ 1.20\") (no value) used as value","code":{"value":"compile","url":"https://staticcheck.io/docs/checks#compile"},"location":{"path":"","range":{"start":{"line":0,"column":0}}},"severity":"ERROR"}
|
staticcheck
[staticcheck] reported by reviewdog 🐶
# github.com/cloudwego/hertz-examples/binding/custom_error
binding/custom_error/main.go:66:28: undefined: binding.NewValidateConfig
binding/custom_error/main.go:69:10: undefined: server.WithValidateConfig
Raw Output:
{"source":{"name":"staticcheck","url":"https://staticcheck.io"},"message":"# github.com/cloudwego/hertz-examples/binding/custom_error\nbinding/custom_error/main.go:66:28: undefined: binding.NewValidateConfig\nbinding/custom_error/main.go:69:10: undefined: server.WithValidateConfig","code":{"value":"compile","url":"https://staticcheck.io/docs/checks#compile"},"location":{"path":"","range":{"start":{"line":0,"column":0}}},"severity":"ERROR"}
|
staticcheck
[staticcheck] reported by reviewdog 🐶
# github.com/cloudwego/hertz-examples/binding/custom_type_resolve
binding/custom_type_resolve/main.go:45:24: undefined: binding.NewBindConfig
Raw Output:
{"source":{"name":"staticcheck","url":"https://staticcheck.io"},"message":"# github.com/cloudwego/hertz-examples/binding/custom_type_resolve\nbinding/custom_type_resolve/main.go:45:24: undefined: binding.NewBindConfig","code":{"value":"compile","url":"https://staticcheck.io/docs/checks#compile"},"location":{"path":"","range":{"start":{"line":0,"column":0}}},"severity":"ERROR"}
|
staticcheck
[staticcheck] reported by reviewdog 🐶
# github.com/cloudwego/hertz-examples/binding/custom_validate_func
binding/custom_validate_func/main.go:37:28: undefined: binding.NewValidateConfig
Raw Output:
{"source":{"name":"staticcheck","url":"https://staticcheck.io"},"message":"# github.com/cloudwego/hertz-examples/binding/custom_validate_func\nbinding/custom_validate_func/main.go:37:28: undefined: binding.NewValidateConfig","code":{"value":"compile","url":"https://staticcheck.io/docs/checks#compile"},"location":{"path":"","range":{"start":{"line":0,"column":0}}},"severity":"ERROR"}
|
staticcheck
[staticcheck] reported by reviewdog 🐶
# github.com/cloudwego/hertz-examples/binding/loose_zero
binding/loose_zero/main.go:33:24: undefined: binding.NewBindConfig
binding/loose_zero/main.go:35:69: undefined: server.WithBindConfig
Raw Output:
{"source":{"name":"staticcheck","url":"https://staticcheck.io"},"message":"# github.com/cloudwego/hertz-examples/binding/loose_zero\nbinding/loose_zero/main.go:33:24: undefined: binding.NewBindConfig\nbinding/loose_zero/main.go:35:69: undefined: server.WithBindConfig","code":{"value":"compile","url":"https://staticcheck.io/docs/checks#compile"},"location":{"path":"","range":{"start":{"line":0,"column":0}}},"severity":"ERROR"}
|
staticcheck:
hlog/slog/main.go#L30
[staticcheck] reported by reviewdog 🐶
no required module provides package github.com/hertz-contrib/logger/slog; to add it:
go get github.com/hertz-contrib/logger/slog
Raw Output:
{"source":{"name":"staticcheck","url":"https://staticcheck.io"},"message":"no required module provides package github.com/hertz-contrib/logger/slog; to add it:\n\tgo get github.com/hertz-contrib/logger/slog","code":{"value":"compile","url":"https://staticcheck.io/docs/checks#compile"},"location":{"path":"hlog/slog/main.go","range":{"start":{"line":30,"column":2}}},"severity":"ERROR"}
|
staticcheck
Process completed with exit code 1.
|