fmt: fix prettier formatting in CODE_STYLEGUIDE_GO.md
This commit is contained in:
1 parent
dda0d01faa
commit
dcb6ca4339
1 file changed
+2
-2
@@ -240,8 +240,8 @@ last_modified: 2026-02-22
|
||||
|
||||
1. When defining custom string-based types (e.g. `type ImageID string`),
|
||||
implement `fmt.Stringer`. Use `.String()` at SDK and library boundaries
|
||||
instead of `string(v)`. This makes type conversions explicit, grep-able,
|
||||
and consistent across the codebase. Example:
|
||||
instead of `string(v)`. This makes type conversions explicit, grep-able, and
|
||||
consistent across the codebase. Example:
|
||||
|
||||
```go
|
||||
type ContainerID string
|
||||
|
||||
Reference in new issue
Block a user