Skip to content

Commit

Permalink
Run go fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
Christopher Swenson committed Oct 25, 2023
1 parent d5fcdbf commit d1c58bb
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 12 deletions.
13 changes: 9 additions & 4 deletions coordinate/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,17 @@ import (
// here:
//
// [1] Dabek, Frank, et al. "Vivaldi: A decentralized network coordinate system."
// ACM SIGCOMM Computer Communication Review. Vol. 34. No. 4. ACM, 2004.
//
// ACM SIGCOMM Computer Communication Review. Vol. 34. No. 4. ACM, 2004.
//
// [2] Ledlie, Jonathan, Paul Gardner, and Margo I. Seltzer. "Network Coordinates
// in the Wild." NSDI. Vol. 7. 2007.
//
// in the Wild." NSDI. Vol. 7. 2007.
//
// [3] Lee, Sanghwan, et al. "On suitability of Euclidean embedding for
// host-based network coordinate systems." Networking, IEEE/ACM Transactions
// on 18.1 (2010): 27-40.
//
// host-based network coordinate systems." Networking, IEEE/ACM Transactions
// on 18.1 (2010): 27-40.
type Config struct {
// The dimensionality of the coordinate system. As discussed in [2], more
// dimensions improves the accuracy of the estimates up to a point. Per [2]
Expand Down
15 changes: 7 additions & 8 deletions testutil/retry/retry.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,13 @@
//
// A sample retry operation looks like this:
//
// func TestX(t *testing.T) {
// retry.Run(t, func(r *retry.R) {
// if err := foo(); err != nil {
// r.Fatal("f: ", err)
// }
// })
// }
//
// func TestX(t *testing.T) {
// retry.Run(t, func(r *retry.R) {
// if err := foo(); err != nil {
// r.Fatal("f: ", err)
// }
// })
// }
package retry

import (
Expand Down

0 comments on commit d1c58bb

Please sign in to comment.