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

Commit87fa562

Browse files
committed
remove file
1 parent4e15540 commit87fa562

File tree

1 file changed

+0
-26
lines changed

1 file changed

+0
-26
lines changed

‎coderd/wsbuilder/wsbuilder.go

Lines changed: 0 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -197,32 +197,6 @@ func (e BuildError) Unwrap() error {
197197
returne.Wrapped
198198
}
199199

200-
typeAdderinterface {
201-
Add()int
202-
}
203-
204-
typemyAdderstruct {
205-
valint
206-
}
207-
208-
func (m*myAdder)Add()int {
209-
returnm.val
210-
}
211-
212-
funcsum(adder []Adder)int {
213-
sum:=0
214-
for_,a:=rangeadder {
215-
sum+=a.Add()
216-
}
217-
returnsum
218-
}
219-
220-
varx=sum([]Adder{&myAdder{
221-
val:2,
222-
},&myAdder{
223-
val:4,
224-
}})
225-
226200
// Build computes and inserts a new workspace build into the database. If authFunc is provided, it also performs
227201
// authorization preflight checks.
228202
func (b*Builder)Build(

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp