Giter VIP home page Giter VIP logo

gobook's Introduction

Learning Go - a free E-Book for learning the Go language.

This is an introduction in the language Go from Google.

The book currently consists out +/- 120 (A4 sized) pages and the following chapters:

Introduction

: Show how to install Go and details the lineage of the language Go.

Basics

: Types, variables and control structures.

Functions

: How to make and use functions.

Packages

: Functions and data is grouped together in packages. Here you will see how to make your own package. How to unit test your package is also described.

Beyond the basics

: Learn how to create your own data types and define function on them (called methods in Go).

Interfaces

: Go does not support Object Orientation in the traditional sense. In Go the central concept is interfaces.

Concurrency

: With the go keyword function can be started in separate routines (called goroutines). Communication with those goroutines is done via channels.

Communication

: How to create/read/write from and to files. And how to do networking.

Each chapter concludes with a number of exercises (and answers) to may help you to get some hands on experience. Currently it has more than 30 exercises.

Building

When building this from scratch you will need the following packages on Debian/Ubuntu:

  • inkscape
  • gnumeric
  • ttf-droid
  • ttf-dejavu
  • ttf-sazanami-gothic (Japanese font)
  • ttf-arphic-ukai (Chines font)
  • texlive-fonts-recommended
  • texlive-extra-utils
  • texlive-xetex
  • texlive-latex-extra
  • texlive-latex-recommended
  • latex-cjk-xcjk
  • git-core
  • make

After that, you will hopefully only have to give make. If not, so the pre-build pdfs on http://www.miek.nl/files/go/

gobook's People

Contributors

basdirks avatar dgryski avatar hujinpu avatar miekg avatar mikespook avatar shalakhin avatar tonymagro avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.