Issue
In javascript, if we want to show pop up messagebox with custom message in browser, we can use alert("message")
function.
How to do it in Go
?
Solution
Log in go with the log package or the fmt package, using log.Printf or log.Println for example.
Answered By – Kenny Grant
Answer Checked By – Senaida (GoLangFix Volunteer)