Buy
00:00/ 00:00

Your First Go Program

41fd2c9e 88b8 4eae 82a7 4bf99d992fa0 small Back to Overview

In this lesson I will over the structure for Go projects and how to create a "Hello world" program in Go.

The Code:

https://github.com/codegangsta/essential-go/blob/m...

Introduction

B5369ad9 2a5d 4ef4 828a 3c06650ca8ef 2

Welcome

Ef5132b8 fd4e 408a a314 e9fbd970ead1 medium

Getting Started

387bb8b8 cc24 4ed5 870e dafb8b985845 medium

Your First Go Program

9853d3f1 3ee9 4a1f adf2 610a4d8c3fb0 medium

Go Tools

The Basics

Dfb92bfc 8dc4 410f 8ded fe88825cf9f8 medium

Variables

Fdbdc65c 6f13 4aef 9760 6b4e89b24519 medium

Control Structures

159c0bf8 03d8 4fcf 95a3 4b84d067a4ba medium

Functions

Ef04376e c050 41c6 a66c fd15e5f442a0 medium

Pointers

Eb517658 e506 4012 af1c add161fa6f10 medium

Example: HTTP File Server

Collections

706bbd7e b6bf 49e4 8d3c 68323990d3c2 medium

Arrays and Slices

F8971685 c44c 4e34 aa25 b9ac52f3a082 medium

Maps

43e7941e 43d8 4f38 98d7 0a14709d4243 medium

Example: JSON Parser

Organizing Go Programs

Ab7fdbdf 179a 40be a0aa 30070f5f5895 medium

Types and Structs

8a80d5db 86f3 4683 a8a5 e9e5059039a1 medium

Interfaces

Example: Static Site Generator

78f88f44 d31f 474d bb94 5012821f1334 medium

Generating Markdown

Cb2312bc b564 4c19 9099 bd451ba37814 medium

Package Building

8336c59d d396 4e2d 865c d07473c0de14 medium

Go Templates

Concurrency (Bonus!)

8f9ee683 c033 4e21 b01d 11e349665edf medium

Introduction

Fdab1cb5 d07e 4dbd 9546 180da3656cb8 medium

Goroutines

8af1e589 da9f 40fd 870e d07aafb8be3f medium

Channels

D254d17a 2292 434c 875e ee13cf2a2380 medium

Select

8c60b72f 9bea 4f0d 87a3 0210591ea170 medium

Example: Job Queue

Next Preview

Variables

Downloads

Gopher. Author of Martini, Negroni, Gin, CLI. The voice behind GopherCasts.io. Polyglot programmer, husband and overall thug.