Goji berries (Lycium barbarum) are the new superfood so we are guessing that you are very health conscious and are thinking of growing them for their nutritious berries. They also make excellent windbreaks and hedges, particularly in coastal areas. They can be planted in any well drained soil in full sun, and once established, they are fairly simple to grow.
Spring is the right time to prune goji berries. Wait until the buds begin to break, as it will be easier to see where any stems have died back over winter. Goji Berries only need light pruning, removing dead and damaged wood and reducing the stems to the space available. However if your shrubs are well established and have outgrown their space then they will tolerate harder pruning.