mirror of
https://github.com/hanzoai/o11y-foundry.git
synced 2026-10-30 18:26:45 +00:00
Modules declare go 1.27.1 and the build images follow. go fix applied the modernizers, and new(expr) now says what the internal pointer helpers did, so they are gone; omitzero is not applied, since it changes what the JSON says. Co-authored-by: Hanzo Dev <[email protected]>
12 lines
140 B
Go
12 lines
140 B
Go
package v1alpha1
|
|
|
|
//go:fix inline
|
|
func BoolPtr(v bool) *bool {
|
|
return new(v)
|
|
}
|
|
|
|
//go:fix inline
|
|
func IntPtr(v int) *int {
|
|
return new(v)
|
|
}
|