Skip to main content

Curso: Go-en

A full Go series for devs who already code in another language. From types and goroutines to a REST API in Docker.

Go from scratch, part 4: functions, multiple returns and closures

Go functions look like any language’s functions until they return two things at once and nothing weird happens. Today: syntax, multiple returns, variadics, closures and defer, your open resources’ best friend. Syntax: the type goes after The type after the name feels odd for ten minutes, then reads better, especially in complex signatures. The official […]

READ MORE

Go from scratch, part 4: functions, multiple returns and closures

Go functions look like any language’s functions until they return two things at once and nothing weird happens. Today: syntax, multiple returns, variadics, closures and defer, your open resources’ best friend. Syntax: the type goes after The type after the name feels odd for ten minutes, then reads better, especially in complex signatures. The official […]

READ MORE

Go from scratch, part 4: functions, multiple returns and closures

Go functions look like any language’s functions until they return two things at once and nothing weird happens. Today: syntax, multiple returns, variadics, closures and defer, your open resources’ best friend. Syntax: the type goes after The type after the name feels odd for ten minutes, then reads better, especially in complex signatures. The official […]

READ MORE

Go from scratch, part 4: functions, multiple returns and closures

Go functions look like any language’s functions until they return two things at once and nothing weird happens. Today: syntax, multiple returns, variadics, closures and defer, your open resources’ best friend. Syntax: the type goes after The type after the name feels odd for ten minutes, then reads better, especially in complex signatures. The official […]

READ MORE

Go from scratch, part 4: functions, multiple returns and closures

Go functions look like any language’s functions until they return two things at once and nothing weird happens. Today: syntax, multiple returns, variadics, closures and defer, your open resources’ best friend. Syntax: the type goes after The type after the name feels odd for ten minutes, then reads better, especially in complex signatures. The official […]

READ MORE

Go from scratch, part 4: functions, multiple returns and closures

Go functions look like any language’s functions until they return two things at once and nothing weird happens. Today: syntax, multiple returns, variadics, closures and defer, your open resources’ best friend. Syntax: the type goes after The type after the name feels odd for ten minutes, then reads better, especially in complex signatures. The official […]

READ MORE

Go from scratch, part 4: functions, multiple returns and closures

Go functions look like any language’s functions until they return two things at once and nothing weird happens. Today: syntax, multiple returns, variadics, closures and defer, your open resources’ best friend. Syntax: the type goes after The type after the name feels odd for ten minutes, then reads better, especially in complex signatures. The official […]

READ MORE

Go from scratch, part 4: functions, multiple returns and closures

Go functions look like any language’s functions until they return two things at once and nothing weird happens. Today: syntax, multiple returns, variadics, closures and defer, your open resources’ best friend. Syntax: the type goes after The type after the name feels odd for ten minutes, then reads better, especially in complex signatures. The official […]

READ MORE

Go from scratch, part 4: functions, multiple returns and closures

Go functions look like any language’s functions until they return two things at once and nothing weird happens. Today: syntax, multiple returns, variadics, closures and defer, your open resources’ best friend. Syntax: the type goes after The type after the name feels odd for ten minutes, then reads better, especially in complex signatures. The official […]

READ MORE