v2-content
?
You are viewing an older version of the content, click here to switch to the current version
Filters
Know your way around Golang

Golang Introduction

Working with Cosmos also often means working with Golang. If you have not worked much with Go, do not worry.

This introduction to Golang is meant as a useful overview of Go and as such, a starting point for your journey in the Cosmos Ecosystem and developing with the Cosmos SDK.

You can also use it as a refresher if you feel a bit rusty when it comes to Go.

# In this chapter

In this chapter, you will:

  • Get a high-level introduction to Golang.
  • Discover basic types, string formatting, functions, and methods.
  • Begin exploring interfaces in Go.
  • Find an introduction to control structures in Go with a closer look at if, switch, and for statements.
  • Learn more about arrays and slices, as well as standard packages Go offers.
  • Take a look at Go's built-in concurrency by exploring Goroutine and channels.

# Next up

Knowing your way around Golang is part of being a Cosmos SDK developer. If you feel like you need an introduction to Golang or a refresher, the next sections provide an introduction to Golang and working with it.

Feel free to skip this chapter if you do not need a refresher and start your journey with the Week 1 content, which will be available by September 15th at 4 pm UTC when the program officially starts.

# Developer Resources

Cosmos SDK
Cosmos SDK
A framework to build application-specific blockchains

CometBFT
CometBFT
Blockchain consensus engine and application interface

Cosmos Hub
Cosmos Hub
First interconnected public blockchain in the Interchain network

IBC
IBC
Industry standard protocol for inter-blockchain communication