Skip to content

Latest commit

 

History

History
22 lines (15 loc) · 546 Bytes

File metadata and controls

22 lines (15 loc) · 546 Bytes

Day 1: Getting Started with GoLang

Introduction:

Why Go for network automation? Concurrency, performance, static typing, strong standard library. Basic Go program structure (package main, func main(), import, fmt.Println).

Code Example: Hello World

// hello.go
package main

import "fmt"

func main() {
    fmt.Println("Hello, Go!")
}
  • To run: go run hello.go

Challenge 1:

Write a Go program that prints your name and a simple network-related phrase (e.g., "Automating networks with Go!").