It's extremely easy.
package main
import (
"github.com/gen2brain/raylib-go/raylib"
)
func main() {
szer := int32(900)
wys := int32(600)
rl.InitWindow(szer, wys, "Drawing with Golang")
rl.SetTargetFPS(60)
for !rl.WindowShouldClose() {
rl.BeginDrawing()
rl.ClearBackground(rl.RayWhite)
rl.DrawText("As easy as BASIC!", 300, 40, 30, rl.DarkGray)
rl.DrawLine(50, 90, 850, 90, rl.Black)
rl.DrawCircle(450, 350, 10, rl.DarkBlue)
rl.DrawCircleGradient(450, 350, 150, rl.Yellow, rl.DarkGreen)
rl.DrawCircleLines(450, 350, 200, rl.Black)
rl.DrawRectangleLines(10, 10, 880, 580, rl.Red)
rl.DrawRectangleGradientH(50, 100, 50, 50, rl.Maroon, rl.Gold)
rl.DrawRectangle(50, 500, 50, 50, rl.Brown)
rl.DrawRectangle(800, 100, 50, 50, rl.DarkGray)
rl.DrawRectangleGradientH(800, 500, 50, 50, rl.Purple, rl.DarkBlue)
rl.EndDrawing()
}
rl.CloseWindow()
}