fmt: fix prettier formatting in CODE_STYLEGUIDE_GO.md
This commit is contained in:
@@ -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