I'm assuming you meant to write "Boers," since I'm sure you wouldn't be keeping pigs with your dairy gals.
10X16 is a nicely sized barn for a couple full sized goats. It's just not a suitable size for confinement. But a 10X16 barn with a paddock could do very nicely for a couple goats.