Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit69be95f

Browse files
committed
make fmt
1 parentb7be320 commit69be95f

File tree

2 files changed

+7
-5
lines changed

2 files changed

+7
-5
lines changed

‎cli/trafficgen.go

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,15 @@ import (
44
"context"
55
"encoding/json"
66
"fmt"
7+
"io"
8+
"sync/atomic"
9+
"time"
10+
711
"github.com/coder/coder/cli/clibase"
812
"github.com/coder/coder/codersdk"
913
"github.com/coder/coder/cryptorand"
1014
"github.com/google/uuid"
1115
"golang.org/x/xerrors"
12-
"io"
13-
"sync/atomic"
14-
"time"
1516
)
1617

1718
func (r*RootCmd)trafficGen()*clibase.Cmd {

‎cli/trafficgen_test.go

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,9 @@ package cli_test
33
import (
44
"bytes"
55
"context"
6+
"strings"
7+
"testing"
8+
69
"github.com/coder/coder/agent"
710
"github.com/coder/coder/cli/clitest"
811
"github.com/coder/coder/coderd/coderdtest"
@@ -12,8 +15,6 @@ import (
1215
"github.com/coder/coder/testutil"
1316
"github.com/google/uuid"
1417
"github.com/stretchr/testify/require"
15-
"strings"
16-
"testing"
1718
)
1819

1920
// This test pretends to stand up a workspace and run a no-op traffic generation test.

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp