ocket8888 commented on code in PR #7002:
URL: https://github.com/apache/trafficcontrol/pull/7002#discussion_r938002353


##########
lib/go-tc/doc.go:
##########
@@ -157,23 +157,23 @@
 // necessarily named FooV1/FooV11 etc.) indicating the new structure. For
 // example:
 //
-//     // FooV11 represents a Foo in TO APIv1.1.
-//     //
-//     // Deprecated: TO APIv1.1 is deprecated; upgrade to FooV2.
-//     type FooV11 struct {
-//         Bar string `json:"bar"`
-//     }
-//     // FooV1 represents a Foo in the latest minor version of TO APIv1.
-//     //
-//     // Deprecated: TO APIv1 is deprecated; upgrade to FooV2.
-//     type FooV1 = FooV11
-//
-//     // FooV20 represents a Foo in TO APIv2.0.
-//     type FooV20 struct {
-//         Bar string `json:"bar"`
-//     }
-//     // FooV2 represents a Foo in the latest minor version of TO APIv2.
-//     type FooV2 = FooV20
+//     // FooV11 represents a Foo in TO APIv1.1.
+//     //
+//     // Deprecated: TO APIv1.1 is deprecated; upgrade to FooV2.
+//     type FooV11 struct {
+//         Bar string `json:"bar"`
+//     }
+//     // FooV1 represents a Foo in the latest minor version of TO APIv1.
+//     //
+//     // Deprecated: TO APIv1 is deprecated; upgrade to FooV2.
+//     type FooV1 = FooV11
+//
+//     // FooV20 represents a Foo in TO APIv2.0.
+//     type FooV20 struct {
+//         Bar string `json:"bar"`
+//     }
+//     // FooV2 represents a Foo in the latest minor version of TO APIv2.
+//     type FooV2 = FooV20

Review Comment:
   it's interesting that `go fmt` does this, considering all of their [examples 
of good GoDoc comments](https://go.dev/doc/comment) use spaces for code block 
"indentation".



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to