func DropLastInt64Ptr(list []*int64) []*int64 {
	listLen := len(list)
	if list == nil || listLen == 0 || listLen == 1 {
		return []*int64{}
	}
	newList := make([]*int64, listLen-1)
	for i := 0; i < listLen-1; i++ {
		newList[i] = list[i]
	}
	return newList
}
DropLastInt64Ptr drops last item from the list and returns new list.
Returns empty list if there is only one item in the list or list empty
package fp
func DropLastIntPtr(list []*int) []*int {
	listLen := len(list)
	if list == nil || listLen == 0 || listLen == 1 {
		return []*int{}
	}
	newList := make([]*int, listLen-1)
	for i := 0; i < listLen-1; i++ {
		newList[i] = list[i]
	}
	return newList
}