Learn the basics of the Go Programming Language. Go (not Golang) was developed at Google as a modern version of C for high-performance server-side applications. https://fireship.io/lessons/learn-go-in-100-lines/

#programming #go #100SecondsOfCode

🔗 Resources

Go in 100 Lines https://fireship.io/lessons/learn-go-in-100-lines/
Go Docs https://golang.org/doc/

🔥 Get More Content - Upgrade to PRO

Upgrade to Fireship PRO at https://fireship.io/pro
Use code lORhwXd2 for 25% off your first payment. 

🎨 My Editor Settings

- Atom One Dark 
- vscode-icons
- Fira Code Font

🔖 Topics Covered

- History of Go Development
- Programming Languages Invented by Ken Thompson 
- Statically-typed Complied Languages
- Go Modules
2024-02-04T05:43:40.418Z
nova-2
2-general-nova
2024-01-09.29447
30089e05-99d1-4376-b32e-c263170674af
ef29f4c2-b48a-416e-a122-b068b9443516
8c8c8f7792359f10694725d0a6a2f6844f3452866d7e0d6bb924cd85ec0cc111
67875a7f-c9c4-48a0-aa55-5bdb8a91c34a
deprecated
Go, a statically typed compiled language often described as C for the 21st century.
It's a popular choice for high performance server side applications, and is the language that built tools like Docker, CockroachDB, and d graph.
It was created at Google in 2007 by legends who really know their stuff, like Ken Thompson, the inventor of the b and c programming languages.
Version 1.0 was released as open source software in 2012.
It was designed for plicity and efficiency, and that's why we call it Go and not Go lang.
The source code is compiled down to machine code, which means it generally outperforms interpreted languages, but it's famous for its extremely fast compile times made possible by innovations to dependency analysis.
And even though it's a statically typed language, It performs type inference to deliver a syntax that is very concise and practical.
It also has a package and module system, making it easy to import and export code between projects.
To get started, install Go and then open an empty directory on your system.
Create a file ending in dot Go, then add package main at the top to create a standalone executable, then declare a main function, which is where your program will start or executing.
Go has a standard library of core packages to handle common requirements like math, networking, or formatted IO.
By importing MT.
We can print a line to the standard output, then run the go build command, and it quickly compiles the source code and dependencies into an executable binary.
When it comes to dependencies, we can also link to remote packages on GitHub.
Run go mod init from the command line, and that creates a Go module file that equals dependency tracking.
Syntactically, Go is like a concise version of c or c plus plus.
Declare a variable with the bar keyword followed by its name and type and initialize it with a value.
Or you might use the short assignment syntax to replace var and let go automatically infer the type.
And you can define multiple variables from a single line.
Go has all the other features you would expect in a programming language like arrays, maps, loops, and control flow, but also allows you to store of a memory address of a value using pointers, while disallowing pointer arithmetic, which often leads to dangerous and unpredictable behavior.
In addition, it supports concurrency with Go routines, which are functions that can run at the same time as other functions by utilizing multiple threads on a CPU.
This has been Go in 100 seconds.
Hit the like button if you wanna see more short videos like this, and check out the full article to write your first one hundred lines of Go on FireShip IO.
Thanks for watching, and I will see you in the next one.

Speaker 0: Go, a statically typed compiled language often described as C for the 21st century. It's a popular choice for high performance server side applications, and is the language that built tools like Docker, CockroachDB, and d graph. It was created at Google in 2007 by legends who really know their stuff, like Ken Thompson, the inventor of the b and c programming languages. Version 1.0 was released as open source software in 2012. It was designed for plicity and efficiency, and that's why we call it Go and not Go lang.

The source code is compiled down to machine code, which means it generally outperforms interpreted languages, but it's famous for its extremely fast compile times made possible by innovations to dependency analysis. And even though it's a statically typed language, It performs type inference to deliver a syntax that is very concise and practical. It also has a package and module system, making it easy to import and export code between projects. To get started, install Go and then open an empty directory on your system. Create a file ending in dot Go, then add package main at the top to create a standalone executable, then declare a main function, which is where your program will start or executing.

Go has a standard library of core packages to handle common requirements like math, networking, or formatted IO. By importing MT. We can print a line to the standard output, then run the go build command, and it quickly compiles the source code and dependencies into an executable binary. When it comes to dependencies, we can also link to remote packages on GitHub. Run go mod init from the command line, and that creates a Go module file that equals dependency tracking.

Syntactically, Go is like a concise version of c or c plus plus. Declare a variable with the bar keyword followed by its name and type and initialize it with a value. Or you might use the short assignment syntax to replace var and let go automatically infer the type. And you can define multiple variables from a single line. Go has all the other features you would expect in a programming language like arrays, maps, loops, and control flow, but also allows you to store of a memory address of a value using pointers, while disallowing pointer arithmetic, which often leads to dangerous and unpredictable behavior.

In addition, it supports concurrency with Go routines, which are functions that can run at the same time as other functions by utilizing multiple threads on a CPU. This has been Go in 100 seconds. Hit the like button if you wanna see more short videos like this, and check out the full article to write your first one hundred lines of Go on FireShip IO. Thanks for watching, and I will see you in the next one.
Go, a statically typed compiled language often described as C for the 21st century. It's a popular choice for high performance server side applications, and is the language that built tools like Docker, CockroachDB, and d graph.
It was created at Google in 2007 by legends who really know their stuff, like Ken Thompson, the inventor of the b and c programming languages. Version 1.0 was released as open source software in 2012. It was designed for plicity and efficiency, and that's why we call it Go and not Go lang. The source code is compiled down to machine code, which means it generally outperforms interpreted languages, but it's famous for its extremely fast compile times made possible by innovations to dependency analysis. And even though it's a statically typed language, It performs type inference to deliver a syntax that is very concise and practical. It also has a package and module system, making it easy to import and export code between projects. To get started, install Go and then open an empty directory on your system.
software
software development
programming
languages
microsoft
Create a file ending in dot Go, then add package main at the top to create a standalone executable, then declare a main function, which is where your program will start or executing.
Go has a standard library of core packages to handle common requirements like math, networking, or formatted IO. By importing MT. We can print a line to the standard output, then run the go build command, and it quickly compiles the source code and dependencies into an executable binary. When it comes to dependencies, we can also link to remote packages on GitHub.
software
software development
Run go mod init from the command line, and that creates a Go module file that equals dependency tracking. Syntactically, Go is like a concise version of c or c plus plus. Declare a variable with the bar keyword followed by its name and type and initialize it with a value.
Or you might use the short assignment syntax to replace var and let go automatically infer the type. And you can define multiple variables from a single line. Go has all the other features you would expect in a programming language like arrays, maps, loops, and control flow, but also allows you to store of a memory address of a value using pointers, while disallowing pointer arithmetic, which often leads to dangerous and unpredictable behavior.
programming
In addition, it supports concurrency with Go routines, which are functions that can run at the same time as other functions by utilizing multiple threads on a CPU. This has been Go in 100 seconds. Hit the like button if you wanna see more short videos like this, and check out the full article to write your first one hundred lines of Go on FireShip IO. Thanks for watching, and I will see you in the next one.
Go, a statically typed compiled language often described as C for the 21st century. It's a popular choice for high performance server side applications, and is the language that built tools like Docker, CockroachDB, and d graph. It was created at Google in 2007 by legends who really know their stuff, like Ken Thompson, the inventor of the b and c programming languages. Version 1.0 was released as open source software in 2012. It was designed for plicity and efficiency, and that's why we call it Go and not Go lang. The source code is compiled down to machine code, which means it generally outperforms interpreted languages, but it's famous for its extremely fast compile times made possible by innovations to dependency analysis. And even though it's a statically typed language, It performs type inference to deliver a syntax that is very concise and practical. It also has a package and module system, making it easy to import and export code between projects. To get started, install Go and then open an empty directory on your system. Create a file ending in dot Go, then add package main at the top to create a standalone executable, then declare a main function, which is where your program will start or executing. Go has a standard library of core packages to handle common requirements like math, networking, or formatted IO. By importing MT. We can print a line to the standard output, then run the go build command, and it quickly compiles the source code and dependencies into an executable binary. When it comes to dependencies, we can also link to remote packages on GitHub. Run go mod init from the command line, and that creates a Go module file that equals dependency tracking. Syntactically, Go is like a concise version of c or c plus plus. Declare a variable with the bar keyword followed by its name and type and initialize it with a value. Or you might use the short assignment syntax to replace var and let go automatically infer the type. And you can define multiple variables from a single line. Go has all the other features you would expect in a programming language like arrays, maps, loops, and control flow, but also allows you to store of a memory address of a value using pointers, while disallowing pointer arithmetic, which often leads to dangerous and unpredictable behavior. In addition, it supports concurrency with Go routines, which are functions that can run at the same time as other functions by utilizing multiple threads on a CPU. This has been Go in 100 seconds. Hit the like button if you wanna see more short videos like this, and check out the full article to write your first one hundred lines of Go on FireShip IO. Thanks for watching, and I will see you in the next one.
Go,
go
a
a
statically
statically
typed
typed
compiled
compiled
language
language
often
often
described
described
as
as
C
c
for
for
the
the
21st
21st
century.
century
It's
it's
a
a
popular
popular
choice
choice
for
for
high
high
performance
performance
server
server
side
side
applications,
applications
and
and
is
is
the
the
language
language
that
that
built
built
tools
tools
like
like
Docker,
docker
CockroachDB,
cockroachdb
and
and
d
d
graph.
graph
It
it
was
was
created
created
at
at
Google
google
in
in
2007
2007
by
by
legends
legends
who
who
really
really
know
know
their
their
stuff,
stuff
like
like
Ken
ken
Thompson,
thompson
the
the
inventor
inventor
of
of
the
the
b
b
and
and
c
c
programming
programming
languages.
languages
Version
version
1.0
1.0
was
was
released
released
as
as
open
open
source
source
software
software
in
in
2012.
2012
It
it
was
was
designed
designed
for
for
plicity
plicity
and
and
efficiency,
efficiency
and
and
that's
that's
why
why
we
we
call
call
it
it
Go
go
and
and
not
not
Go
go
lang.
lang
The
the
source
source
code
code
is
is
compiled
compiled
down
down
to
to
machine
machine
code,
code
which
which
means
means
it
it
generally
generally
outperforms
outperforms
interpreted
interpreted
languages,
languages
but
but
it's
it's
famous
famous
for
for
its
its
extremely
extremely
fast
fast
compile
compile
times
times
made
made
possible
possible
by
by
innovations
innovations
to
to
dependency
dependency
analysis.
analysis
And
and
even
even
though
though
it's
it's
a
a
statically
statically
typed
typed
language,
language
It
it
performs
performs
type
type
inference
inference
to
to
deliver
deliver
a
a
syntax
syntax
that
that
is
is
very
very
concise
concise
and
and
practical.
practical
It
it
also
also
has
has
a
a
package
package
and
and
module
module
system,
system
making
making
it
it
easy
easy
to
to
import
import
and
and
export
export
code
code
between
between
projects.
projects
To
to
get
get
started,
started
install
install
Go
go
and
and
then
then
open
open
an
an
empty
empty
directory
directory
on
on
your
your
system.
system
Create
create
a
a
file
file
ending
ending
in
in
dot
dot
Go,
go
then
then
add
add
package
package
main
main
at
at
the
the
top
top
to
to
create
create
a
a
standalone
standalone
executable,
executable
then
then
declare
declare
a
a
main
main
function,
function
which
which
is
is
where
where
your
your
program
program
will
will
start
start
or
or
executing.
executing
Go
go
has
has
a
a
standard
standard
library
library
of
of
core
core
packages
packages
to
to
handle
handle
common
common
requirements
requirements
like
like
math,
math
networking,
networking
or
or
formatted
formatted
IO.
io
By
by
importing
importing
MT.
mt
We
we
can
can
print
print
a
a
line
line
to
to
the
the
standard
standard
output,
output
then
then
run
run
the
the
go
go
build
build
command,
command
and
and
it
it
quickly
quickly
compiles
compiles
the
the
source
source
code
code
and
and
dependencies
dependencies
into
into
an
an
executable
executable
binary.
binary
When
when
it
it
comes
comes
to
to
dependencies,
dependencies
we
we
can
can
also
also
link
link
to
to
remote
remote
packages
packages
on
on
GitHub.
github
Run
run
go
go
mod
mod
init
init
from
from
the
the
command
command
line,
line
and
and
that
that
creates
creates
a
a
Go
go
module
module
file
file
that
that
equals
equals
dependency
dependency
tracking.
tracking
Syntactically,
syntactically
Go
go
is
is
like
like
a
a
concise
concise
version
version
of
of
c
c
or
or
c
c
plus
plus
plus.
plus
Declare
declare
a
a
variable
variable
with
with
the
the
bar
bar
keyword
keyword
followed
followed
by
by
its
its
name
name
and
and
type
type
and
and
initialize
initialize
it
it
with
with
a
a
value.
value
Or
or
you
you
might
might
use
use
the
the
short
short
assignment
assignment
syntax
syntax
to
to
replace
replace
var
var
and
and
let
let
go
go
automatically
automatically
infer
infer
the
the
type.
type
And
and
you
you
can
can
define
define
multiple
multiple
variables
variables
from
from
a
a
single
single
line.
line
Go
go
has
has
all
all
the
the
other
other
features
features
you
you
would
would
expect
expect
in
in
a
a
programming
programming
language
language
like
like
arrays,
arrays
maps,
maps
loops,
loops
and
and
control
control
flow,
flow
but
but
also
also
allows
allows
you
you
to
to
store
store
of
of
a
a
memory
memory
address
address
of
of
a
a
value
value
using
using
pointers,
pointers
while
while
disallowing
disallowing
pointer
pointer
arithmetic,
arithmetic
which
which
often
often
leads
leads
to
to
dangerous
dangerous
and
and
unpredictable
unpredictable
behavior.
behavior
In
in
addition,
addition
it
it
supports
supports
concurrency
concurrency
with
with
Go
go
routines,
routines
which
which
are
are
functions
functions
that
that
can
can
run
run
at
at
the
the
same
same
time
time
as
as
other
other
functions
functions
by
by
utilizing
utilizing
multiple
multiple
threads
threads
on
on
a
a
CPU.
cpu
This
this
has
has
been
been
Go
go
in
in
100
100
seconds.
seconds
Hit
hit
the
the
like
like
button
button
if
if
you
you
wanna
wanna
see
see
more
more
short
short
videos
videos
like
like
this,
this
and
and
check
check
out
out
the
the
full
full
article
article
to
to
write
write
your
your
first
first
one
one
hundred
hundred
lines
lines
of
of
Go
go
on
on
FireShip
fireship
IO.
io
Thanks
thanks
for
for
watching,
watching
and
and
I
i
will
will
see
see
you
you
in
in
the
the
next
next
one.
one
success
The speaker explains that Go is a popular choice for high-performance server side applications, and its fast compile times make it a useful language for developers. Go is a version of c plus plus, with a standard library of core packages to handle common requirements like math, networking, or formatted IO, and supports a concurrency with Go routines. It also has a standard output, a file with a dependency tracking, and a file with a module file that equals dependency tracking.
Go in 100 Seconds
Go, a statically typed compiled language often described as C for the 21st century. It's a popular choice for high performance server side applications, and is the language that built tools like Docker, CockroachDB, and d graph. It was created at Google in 2007 by legends who really know their stuff, like Ken Thompson, the inventor of the b and c programming languages. Version 1.0 was released as open source software in 2012. It was designed for plicity and efficiency, and that's why we call it Go and not Go lang. The source code is compiled down to machine code, which means it generally outperforms interpreted languages, but it's famous for its extremely fast compile times made possible by innovations to dependency analysis. And even though it's a statically typed language, It performs type inference to deliver a syntax that is very concise and practical. It also has a package and module system, making it easy to import and export code between projects. To get started, install Go and then open an empty directory on your system. Create a file ending in dot Go, then add package main at the top to create a standalone executable, then declare a main function, which is where your program will start or executing. Go has a standard library of core packages to handle common requirements like math, networking, or formatted IO. By importing MT. We can print a line to the standard output, then run the go build command, and it quickly compiles the source code and dependencies into an executable binary. When it comes to dependencies, we can also link to remote packages on GitHub. Run go mod init from the command line, and that creates a Go module file that equals dependency tracking. Syntactically, Go is like a concise version of c or c plus plus. Declare a variable with the bar keyword followed by its name and type and initialize it with a value. Or you might use the short assignment syntax to replace var and let go automatically infer the type. And you can define multiple variables from a single line. Go has all the other features you would expect in a programming language like arrays, maps, loops, and control flow, but also allows you to store of a memory address of a value using pointers, while disallowing pointer arithmetic, which often leads to dangerous and unpredictable behavior. In addition, it supports concurrency with Go routines, which are functions that can run at the same time as other functions by utilizing multiple threads on a CPU. This has been Go in 100 seconds. Hit the like button if you wanna see more short videos like this, and check out the full article to write your first one hundred lines of Go on FireShip IO. Thanks for watching, and I will see you in the next one.
The speaker explains that Go is a popular choice for high-performance server side applications, and its fast compile times make it a useful language for developers. Go is a version of c plus plus, with a standard library of core packages to handle common requirements like math, networking, or formatted IO, and supports a concurrency with Go routines. It also has a standard output, a file with a dependency tracking, and a file with a module file that equals dependency tracking.

        [INST]
        You are youtuber called Fireship you make engaging high-intensity and entertaining coding tutorials and tech news. 
        you covers a wide range of topics relevant to programmers, aiming to help them learn and improve their skills quickly.
        
        Given the title of the video : Go in 100 Seconds 
        and a small summary : The speaker explains that Go is a popular choice for high-performance server side applications, and its fast compile times make it a useful language for developers. Go is a version of c plus plus, with a standard library of core packages to handle common requirements like math, networking, or formatted IO, and supports a concurrency with Go routines. It also has a standard output, a file with a dependency tracking, and a file with a module file that equals dependency tracking.
        [/INST]
        
        Generate the video : Go, a statically typed compiled language often described as C for the 21st century. It's a popular choice for high performance server side applications, and is the language that built tools like Docker, CockroachDB, and d graph. It was created at Google in 2007 by legends who really know their stuff, like Ken Thompson, the inventor of the b and c programming languages. Version 1.0 was released as open source software in 2012. It was designed for plicity and efficiency, and that's why we call it Go and not Go lang. The source code is compiled down to machine code, which means it generally outperforms interpreted languages, but it's famous for its extremely fast compile times made possible by innovations to dependency analysis. And even though it's a statically typed language, It performs type inference to deliver a syntax that is very concise and practical. It also has a package and module system, making it easy to import and export code between projects. To get started, install Go and then open an empty directory on your system. Create a file ending in dot Go, then add package main at the top to create a standalone executable, then declare a main function, which is where your program will start or executing. Go has a standard library of core packages to handle common requirements like math, networking, or formatted IO. By importing MT. We can print a line to the standard output, then run the go build command, and it quickly compiles the source code and dependencies into an executable binary. When it comes to dependencies, we can also link to remote packages on GitHub. Run go mod init from the command line, and that creates a Go module file that equals dependency tracking. Syntactically, Go is like a concise version of c or c plus plus. Declare a variable with the bar keyword followed by its name and type and initialize it with a value. Or you might use the short assignment syntax to replace var and let go automatically infer the type. And you can define multiple variables from a single line. Go has all the other features you would expect in a programming language like arrays, maps, loops, and control flow, but also allows you to store of a memory address of a value using pointers, while disallowing pointer arithmetic, which often leads to dangerous and unpredictable behavior. In addition, it supports concurrency with Go routines, which are functions that can run at the same time as other functions by utilizing multiple threads on a CPU. This has been Go in 100 seconds. Hit the like button if you wanna see more short videos like this, and check out the full article to write your first one hundred lines of Go on FireShip IO. Thanks for watching, and I will see you in the next one.
        