package main
import "fmt"
func main() {
fmt.Println("Hello, World!")
}
package main: Declares the package asmain, the entry point of the executable program.import "fmt": Imports the “fmt” package, which provides formatted I/O.func main(): The main function where program execution begins.