Comments explain your code to future readers, including yourself. Single-line comments start with two forward slashes. Everything after // on that line is ignored by the compiler.
// This is a comment
fmt.Println("Hello") // This prints Hello
Use comments to explain why you're doing something, not what. The code shows what. Comments should add context that isn't obvious from reading the code.