We investigated the structural stability and electronic properties of WS2 and graphene oxide (GO) heterostructures via first-principles calculations. It is found that the band gap and the work function of the WS2/GO heterostructures can be efficiently tuned by changing the oxygen functionals and its concentrations.