func MinInt64Ptr(list []*int64) *int64 {
	if list == nil || len(list) == 0 {
		var zero int64
		return &zero
	}
	min := list[0]
	for _, v := range list {
		if *v < *min {
			min = v
		}
	}
	return min
}
MinInt64Ptr returns min item from the list.
Return 0 if the list is either empty or nil
package fp
func MinIntPtr(list []*int) *int {
	if list == nil || len(list) == 0 {
		var zero int
		return &zero
	}
	min := list[0]
	for _, v := range list {
		if *v < *min {
			min = v
		}
	}
	return min
}