Skip to content

Commit

Permalink
# 这是一个 2 个提交的组合。
Browse files Browse the repository at this point in the history
# 这是第一个提交说明:

refactor: using methods from the standard library

Signed-off-by: linchizhen <jiayanbing@yeah.net>

# 这是提交说明 #2:

refactor: using methods from the standard library

Signed-off-by: linchizhen <jiayanbing@yeah.net>
  • Loading branch information
linchizhen committed Dec 23, 2024
1 parent 246fd88 commit 6513970
Show file tree
Hide file tree
Showing 10 changed files with 0 additions and 12 deletions.
1 change: 0 additions & 1 deletion pkg/mediorum/mediorum.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ import (
"github.com/AudiusProject/audius-protocol/pkg/mediorum/ethcontracts"
"github.com/AudiusProject/audius-protocol/pkg/mediorum/server"
"github.com/AudiusProject/audius-protocol/pkg/registrar"
"golang.org/x/exp/slices"
"golang.org/x/exp/slog"
"golang.org/x/sync/errgroup"
)
Expand Down
1 change: 0 additions & 1 deletion pkg/mediorum/persistence/persistence.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ import (
_ "gocloud.dev/blob/fileblob"
_ "gocloud.dev/blob/gcsblob"
_ "gocloud.dev/blob/s3blob"
"golang.org/x/exp/maps"
"golang.org/x/sync/errgroup"
)

Expand Down
1 change: 0 additions & 1 deletion pkg/mediorum/server/monitor.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ import (
"github.com/AudiusProject/audius-protocol/pkg/mediorum/crudr"
"github.com/jackc/pgx/v5/pgxpool"
"github.com/labstack/echo/v4"
"golang.org/x/exp/slices"
"golang.org/x/exp/slog"
"gorm.io/gorm"
)
Expand Down
2 changes: 0 additions & 2 deletions pkg/mediorum/server/peer_health.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,6 @@ import (
"time"

"github.com/labstack/echo/v4"
"golang.org/x/exp/maps"
"golang.org/x/exp/slices"
)

func (ss *MediorumServer) startHealthPoller() {
Expand Down
2 changes: 0 additions & 2 deletions pkg/mediorum/server/placement.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,6 @@ import (
"net/url"
"sort"
"strings"

"golang.org/x/exp/slices"
)

func (ss *MediorumServer) rendezvousAllHosts(key string) ([]string, bool) {
Expand Down
1 change: 0 additions & 1 deletion pkg/mediorum/server/repair.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ import (
"github.com/labstack/echo/v4"
"gocloud.dev/blob"
"gocloud.dev/gcerrors"
"golang.org/x/exp/slices"
"gorm.io/gorm"
)

Expand Down
1 change: 0 additions & 1 deletion pkg/mediorum/server/serve_blob.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ import (
"github.com/erni27/imcache"
"github.com/labstack/echo/v4"
"gocloud.dev/gcerrors"
"golang.org/x/exp/slices"
)

func (ss *MediorumServer) serveBlobLocation(c echo.Context) error {
Expand Down
1 change: 0 additions & 1 deletion pkg/mediorum/server/serve_metrics.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ import (
"time"

"github.com/labstack/echo/v4"
"golang.org/x/exp/slices"
)

type Metrics struct {
Expand Down
1 change: 0 additions & 1 deletion pkg/mediorum/server/serve_upload.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ import (

"github.com/labstack/echo/v4"
"github.com/oklog/ulid/v2"
"golang.org/x/exp/slices"
"golang.org/x/sync/errgroup"
)

Expand Down
1 change: 0 additions & 1 deletion pkg/mediorum/server/sniff.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ import (
"sync"

"gocloud.dev/blob"
"golang.org/x/exp/slices"
)

type HostAttrSniff struct {
Expand Down

0 comments on commit 6513970

Please sign in to comment.