Continuous-wave lasers generated bubbles in microfluidic channels are proposed for applications such as needle-free jet injection due to their small size and affordable price of these lasers. However, water is transparent in the visible and near-IR regime, where the affordable diode lasers operate. Therefore, a dye is required for absorption, which is often unwanted in thermocavitation applications, such as vaccines or cosmetics. In this work, we explore a different mechanism of the absorption of optical energy. The microfluidic channel wall is partially covered with a thin gold layer, which absorbs light from a blue laser diode. This surface absorption is compared with the conventional volumetric absorption by a red dye. The results show that this surface absorption can be used to generate bubbles without the requirement of a dye. However, the generated bubbles are smaller and grow slower when compared to the dye-generated bubbles. Furthermore, heat dissipation in the glass channel walls affects the overall efficiency. Finally, degradation of the gold layer over time reduces the reproducibility and limits its lifetime. Further experiments and simulations are proposed to potentially solve these problems and optimize the bubble formation. Our findings can inform the design and operation of microfluidic devices used in phase transition experiments and other cavitation phenomena, such as jet injectors or liquid dispensing for bio-engineering.