Skip to content

Commit 10c0205

Browse files
committed
lint
1 parent 7b2f34b commit 10c0205

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

cmd/server/main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ import (
88
"net/http"
99
"os"
1010

11-
"github.com/btouchard/shm/internal/adapters/postgres"
1211
httpAdapter "github.com/btouchard/shm/internal/adapters/http"
12+
"github.com/btouchard/shm/internal/adapters/postgres"
1313
"github.com/btouchard/shm/internal/config"
1414
"github.com/btouchard/shm/internal/middleware"
1515
"github.com/btouchard/shm/web"

sdk/golang/client_test.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -99,9 +99,9 @@ func TestBytesToMB(t *testing.T) {
9999
expected uint64
100100
}{
101101
{0, 0},
102-
{1024, 0}, // Less than 1 MB
103-
{1024 * 1024, 1}, // Exactly 1 MB
104-
{2 * 1024 * 1024, 2}, // 2 MB
102+
{1024, 0}, // Less than 1 MB
103+
{1024 * 1024, 1}, // Exactly 1 MB
104+
{2 * 1024 * 1024, 2}, // 2 MB
105105
{1024 * 1024 * 1024, 1024}, // 1 GB = 1024 MB
106106
}
107107

0 commit comments

Comments
 (0)