cum se folosește funcția în golang