Skip to content

Commit 7c91b33

Browse files
committed
fmt
1 parent bfcf2d3 commit 7c91b33

File tree

2 files changed

+9
-8
lines changed

2 files changed

+9
-8
lines changed

codersdk/workspaceportsharing.go

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,11 @@ const (
66
WorkspaceAgentPortSharingLevelPublic WorkspacePortSharingLevel = 2
77
)
88

9-
type WorkspacePortSharingLevel int
10-
type UpdateWorkspaceAgentPortSharingLevelRequest struct {
11-
AgentName string `json:"agent_name"`
12-
Port int32 `json:"port"`
13-
ShareLevel int32 `json:"share_level"`
14-
}
9+
type (
10+
WorkspacePortSharingLevel int
11+
UpdateWorkspaceAgentPortSharingLevelRequest struct {
12+
AgentName string `json:"agent_name"`
13+
Port int32 `json:"port"`
14+
ShareLevel int32 `json:"share_level"`
15+
}
16+
)

enterprise/coderd/portsharing/portsharing.go

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
package portsharing
22

3-
type EnterprisePortSharer struct {
4-
}
3+
type EnterprisePortSharer struct{}
54

65
func NewEnterprisePortSharer() *EnterprisePortSharer {
76
return &EnterprisePortSharer{}

0 commit comments

Comments
 (0)