golang if statement with string
package main
import "fmt"
func main() {
language := "Go"
if language == "Go" {
fmt.Println("You are using Go language.")
} else {
fmt.Println("You are using a different language.")
}
}