Go

thumbnail

Go Crash Course X

Part 9 Interface Interface is a collection of method signatures. In go interfaces are implemented implicitly. So it is possible fo...

Read More

thumbnail

Go Crash Course Ix

Part 8 Struct If you are coming from a OOP language like Java finding struct in Go might make you relieved. Although it is possibl...

Read More

thumbnail

Go Crash Course VIII: If, Switch and For

Part 7 If In programming often we have to have conditional execution of certain statements. In most programming languages we have ...

Read More

thumbnail

Go Crash Course VII: Functions, Closures and Defer

Part 6 Functions We talked about functions in some detail in a previous chapter. But lets cover some more features of functions th...

Read More

thumbnail

Go Crash Course VI: Blocks, Scopes and Shadowing

Part 5 Blocks In go a block is defined with a set of {}. Usually when we create a function we are in a block already. But we can d...

Read More

thumbnail

Go Crash Course V: Constants, Operators and Reserved Keywords

Part 4 Constants In a previous post I said go does not have immutable types. I was only half right. Go does have constants denoted...

Read More

thumbnail

Go Crash Course IV: Types, Conversion and Inference

Part III The code for this part is in the types folder under this github repo. Types Go is a typed language. That means everything...

Read More

thumbnail

Go Crash Course Part III: Variables and Functions

Part 2 Variables In Go using the var keyword we can declare a list of variables of same type. var a, b, c int Variables are mutabl...

Read More

thumbnail

Go Crash Course Part II: Package, Import, and Export

Part 1 Package Scope We structure our code in packages. We also import other packages from standard library and external sources. ...

Read More

thumbnail

Go Crash Course Part I: Introduction

Go Go is an open source programming language known for its simplicity and ease of use. It has great concurrency primitives. I have...

Read More