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