Been there done this,and in the end,it really doesn't work so well.First thing is that Betta's prefer warmer temps.
2nd) Normal filtration rate for Goldfish is a lot more powerful than Betta's can handle to constantly swim in those currents.
3rd) Goldfish are pigs,plain and simple.Betta's often will go without correct amounts of food because the goldfish will gobble theirs up.
4th)Sometimes there's a stress factor going on because of size difference in Betta's and goldfish.Eventually,one will harass the other.
This seems to work for a while,but then your Betta usually pays the price.I kept one for a while with smaller goldfish that ate all his food.And then one day I happened to watch him in the tank,and that's when I realized how much the filtration rate was bouncing him all over the place,and how much effort it took for him to try and just normally swim,and saw that he was totally exhausted by it all,especially when it was time to come up for that breath of air.
My advice to you is that if you're able to,give the Betta his own space,as he deserves to lead a peaceful,easy going kind of life.