pkg/api/jx.go
Method jxController.handler
has 92 lines of code (exceeds 50 allowed). Consider refactoring. Open
Open
func (c *jxController) handler(w http.ResponseWriter, r *http.Request) {
data, err := io.ReadAll(r.Body)
if err != nil {
return
}
Method jxController.handler
has 8 return statements (exceeds 4 allowed). Open
Open
func (c *jxController) handler(w http.ResponseWriter, r *http.Request) {
data, err := io.ReadAll(r.Body)
if err != nil {
return
}