INNER CODE UNIT · Go

err

pace/bricks · tools/testserver/main.go:167

			_, err = c.Substract(ctx, &math.Input{})
			if err != nil {
				log.Ctx(ctx).Debug().Err(err).Msg("failed to substract")
				return
			}
		}
	})

	h.HandleFunc("/couch", func(w http.ResponseWriter, r *http.Request) {
		row := cdb.Get(r.Context(), "$health_check")
		if err := row.Err(); err != nil {
			log.Println(err)
			w.WriteHeader(http.StatusInternalServerError)
			return
		}
		var doc interface{}
		row.ScanDoc(&doc) // nolint: errcheck

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…