Switched to switch

I was looking over this with the hope to learn something new and I found it was a great example of using the functional options you spoke about during your talk!

I thought I'd make this change because I personally find it more readable to use a switch when there are multiple if's, it kind of prepares the reader for a lot of conditions. The fact that Go also allows us to have a "no parameter" switch gives us the opportunity to do such things.

This is obviously just a personal opinion and you don't have to merge it if you don't agree.
Everything looks good except for this bit. A profile has three states, Cpu, Mem, or Block, the other configuration options are not part of this, they are binary. 

This is an easy fix, just close off the switch case ~ 180 and leave this code untouched.