Files
PrivateCaptcha/pkg/monitoring/service_no_pprof.go
T
Taras Kushnir 4951055189 Initial commit
2025-05-31 10:56:00 +03:00

16 lines
304 B
Go

//go:build !profile
package monitoring
import (
"context"
"log/slog"
"net/http"
"github.com/PrivateCaptcha/PrivateCaptcha/pkg/common"
)
func (s *Service) setupProfiling(ctx context.Context, mux *http.ServeMux) {
slog.Log(ctx, common.LevelTrace, "Profiling is not enabled during compile time")
}