changed embedded mutex to private field (#222)
Some checks failed
coverage / build (push) Successful in 3m13s
test / test (push) Failing after 16m3s

This commit is contained in:
2025-05-14 03:26:24 +05:00
committed by GitHub
parent 732b5685fb
commit 1cb2b3c241
2 changed files with 42 additions and 44 deletions

View File

@@ -9,7 +9,6 @@ import (
"slices"
"strconv"
"strings"
"sync"
"time"
"go.unistack.org/micro/v4/errors"
@@ -46,7 +45,6 @@ type httpHandler struct {
handlers *rhttp.Trie
name string
sopts server.Options
sync.RWMutex
}
func (h *httpHandler) Name() string {