refactor: remove NoCopy struct; move RefCounter struct to goutils and update usage; remove internal/utils entirely

This commit is contained in:
yusing
2026-01-07 17:17:12 +08:00
parent 04dd963535
commit cc406921cb
8 changed files with 4 additions and 152 deletions

View File

@@ -7,12 +7,9 @@ import (
idlewatcher "github.com/yusing/godoxy/internal/idlewatcher/types"
nettypes "github.com/yusing/godoxy/internal/net/types"
"github.com/yusing/godoxy/internal/types"
U "github.com/yusing/godoxy/internal/utils"
)
type server struct {
_ U.NoCopy
name string
url *nettypes.URL
weight int