While Loop in Golang

Application Create new folder named src. In src folder, create new file named main.go as below: package main import “fmt” func main() { fmt.Println(“Demo 1”) Demo1() fmt.Println(“\nDemo 2”) Demo2() fmt.Println(“\nDemo …

While Loop in Golang Read More

For Loop in Golang

Application Create new folder named src. In src folder, create new file named main.go as below: package main import “fmt” func main() { fmt.Println(“Demo 1”) Demo1() fmt.Println(“\nDemo 2”) Demo2() fmt.Println(“\nDemo …

For Loop in Golang Read More