All the officers appointed on the staff of the governor or commissioned in the Kansas national guard shall, before entering upon the discharge of their respective duties, take and subscribe to the proper oath of office.