Writing Our First Program

Let’s learn the Go language functions, packages, and some important formatting and coding rules.

Hello World!

The following is the Go version of the Hello World! program. Let’s name the following code hw.go and try it:

Create a free account to view this lesson.

By signing up, you agree to Educative's Terms of Service and Privacy Policy