all: Remove lib/util package (#9049)

Grab-bag packages are nasty, this cleans it up a little by splitting it
into topical packages sempahore, netutil, stringutil, structutil.
This commit is contained in:
Jakob Borg
2023-08-21 19:44:33 +02:00
committed by GitHub
parent 40b3b9ad15
commit acd767b30b
36 changed files with 414 additions and 385 deletions
+2 -2
View File
@@ -14,7 +14,7 @@ import (
"strconv"
"time"
"github.com/syncthing/syncthing/lib/util"
"github.com/syncthing/syncthing/lib/structutil"
)
type Report struct {
@@ -179,7 +179,7 @@ type Report struct {
func New() *Report {
r := &Report{}
util.FillNil(r)
structutil.FillNil(r)
return r
}