Soak the dates and and goji berries in hot water for about 15 minutes to soften them a bit. Drain.
Add the dates and goji berries in a food processor and process until they look chopped and sticky.
Add in the peanut butter, pumpkin seeds and oats in the food processor, and process until everything starts to stick together. Be sure to stop and scrap down the sides as needed, and give your machine a rest if it is heating up too much.
If the mixture is too crumbly, add in a bit of water, 1 tsp. at a time.
Add in the chocolate chips and briefly process, until the chocolate chips are chopped up into smaller pieces. Do not process the mixture too long with the chocolate, otherwise the chocolate will start to melt from the heat.
Press the mixture into a 9in x5in loaf pan (or into mini muffin cups, if desired), using a piece of parchment paper to prevent the mixture from sticking to hands.
Refrigerate for at least 1 hour. Remove from the pan and cut.