Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSS

golang if else

package main

import "fmt"

func main() {
	name := "Manager"
	if name == "Manager" {
		fmt.Println("This is the Manager")
	} else {
		fmt.Println("This is not the manager")
	}
}
Source by gobyexample.com #
 
PREVIOUS NEXT
Tagged: #golang
ADD COMMENT
Topic
Name
2+5 =