RIP
Tutorial
Tags
Topics
Examples
eBooks
Download Go (PDF)
Go
Getting started with Go
Awesome Book
Awesome Community
Awesome Course
Awesome Tutorial
Awesome YouTube
Arrays
Base64 Encoding
Best practices on project structure
Branching
Build Constraints
cgo
cgo
Channels
Closures
Concurrency
Console I/O
Constants
Context
Cross Compilation
Cryptography
Defer
Developing for Multiple Platforms with Conditional Compiling
Error Handling
Executing Commands
File I/O
Fmt
Functions
Getting Started With Go Using Atom
gob
Goroutines
HTTP Client
HTTP Server
Images
Inline Expansion
Installation
Installation
Interfaces
Iota
JSON
JWT Authorization in Go
Logging
Loops
Maps
Memory pooling
Methods
mgo
Middleware
Mutex
Object Oriented Programming
OS Signals
Packages
Panic and Recover
Parsing Command Line Arguments And Flags
Parsing CSV files
Plugin
Pointers
Profiling using go tool pprof
Protobuf in Go
Readers
Reflection
Select and Channels
Send/receive emails
Slices
SQL
String
Structs
Templates
Testing
Text + HTML Templating
The Go Command
Time
Type conversions
Variables
Basic Variable Declaration
Blank Identifier
Checking a variable's type
Multiple Variable Assignment
Vendoring
Worker Pools
XML
YAML
Zero values
Zero values
Go
Getting started with Go
Awesome Book
Awesome Community
Awesome Course
Awesome Tutorial
Awesome YouTube
Arrays
Base64 Encoding
Best practices on project structure
Branching
Build Constraints
cgo
cgo
Channels
Closures
Concurrency
Console I/O
Constants
Context
Cross Compilation
Cryptography
Defer
Developing for Multiple Platforms with Conditional Compiling
Error Handling
Executing Commands
File I/O
Fmt
Functions
Getting Started With Go Using Atom
gob
Goroutines
HTTP Client
HTTP Server
Images
Inline Expansion
Installation
Installation
Interfaces
Iota
JSON
JWT Authorization in Go
Logging
Loops
Maps
Memory pooling
Methods
mgo
Middleware
Mutex
Object Oriented Programming
OS Signals
Packages
Panic and Recover
Parsing Command Line Arguments And Flags
Parsing CSV files
Plugin
Pointers
Profiling using go tool pprof
Protobuf in Go
Readers
Reflection
Select and Channels
Send/receive emails
Slices
SQL
String
Structs
Templates
Testing
Text + HTML Templating
The Go Command
Time
Type conversions
Variables
Basic Variable Declaration
Blank Identifier
Checking a variable's type
Multiple Variable Assignment
Vendoring
Worker Pools
XML
YAML
Zero values
Zero values
Go
Variables
Fastest Entity Framework Extensions
Bulk Insert
Bulk Delete
Bulk Update
Bulk Merge
Syntax
var x int // declare variable x with type int
var s string // declare variable s with type string
x = 4 // define x value
s = "foo" // define s value
y := 5 // declare and define y inferring its type to int
f := 4.5 // declare and define f inferring its type to float64
b := "bar" // declare and define b inferring its type to string
Variables Related Examples
Basic Variable Declaration
Blank Identifier
Checking a variable's type
Multiple Variable Assignment
Got any Go Question?
Ask any Go Questions and Get Instant Answers from ChatGPT AI:
ChatGPT answer me!
PDF
- Download
Go
for free
Previous
Next
Cookie
This website stores cookies on your computer.
We use cookies to enhance your experience on our website and deliver personalized content.
For more details on our cookie usage, please review our
Cookie Policy
and
Privacy Policy
Accept all Cookies
Leave this website