Preheat oven to 180 degrees. Line an 8 inch brownie tin with parchment paper handing from all sides and grease well. Set aside.
Melt the butter and chocolate on low flame in a saucepan or in the microwave. Allow it to cool.
Whisk in the eggs and sugar until well combined. Add in the vanilla.
Sift in the flour and salt. Add the goji berries and fold the batter with a spatula. Doing this will make sure that the goji berries are dusted with flour and will stay suspended in the batter.
Pour into prepared pan and bake for 20 minutes. Do not overbake.
Take out the pan and allow to cool for five minutes.
Slowly take out the parchment and transfer to a rack. Cool completely before slicing and enjoying.