Skip to content

Commit c70fcd9

Browse files
esmaeilpourpeterbourgon
authored andcommitted
Fixing arguments order (#25)
1 parent ebc858b commit c70fcd9

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

_src/examples/stringsvc.md

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -282,13 +282,11 @@ count = makeCountEndpoint(svc)
282282
count = loggingMiddleware(log.With(logger, "method", "count"))(count)
283283

284284
uppercaseHandler := httptransport.NewServer(
285-
// ...
286285
uppercase,
287286
// ...
288287
)
289288

290289
countHandler := httptransport.NewServer(
291-
// ...
292290
count,
293291
// ...
294292
)
@@ -360,13 +358,11 @@ func main() {
360358
// ...
361359

362360
uppercaseHandler := httptransport.NewServer(
363-
// ...
364361
makeUppercaseEndpoint(svc),
365362
// ...
366363
)
367364

368365
countHandler := httptransport.NewServer(
369-
// ...
370366
makeCountEndpoint(svc),
371367
// ...
372368
)

0 commit comments

Comments
 (0)