1 2 3 4 5 6 7 8 9
package convert func ToPtr[T any](item T) *T { return &item } func FromPtr[T any](p *T) T { return *p }