Code Monkey home page Code Monkey logo

go-sample's Introduction

Learning Go

This simple project acts as the basis for an introduction to the programming language Go. It is meant to be downloaded at the Codinglab by the participants.

Setup

Install Go

Head over to the download page and install the runtime for your system.

Be sure to write & run the simple example application as shown on the download page.

Prepare a workspace

The recommended way to work with Go is by the use of a workspace as described here. Setup a base directory containing the folders bin, pkg and src and let the GOPATH environment variable point to this directory.

Prepare IDE

Any text editor suffices to work with Go.

If no preference exists, use the following setup to have language support:

Download this project

On the command line, navigate to the src directory of your workspace and enter the command

go get github.com/codingdojovie/go-sample

to let Go download the project.

Then enter the directory src/github.com/nightlyone/go-sample and enter the commands

go get ./...
go install ./...

to fetch all dependencies and compile the application.

This should have placed an executable binary go-sample into the bin folder of your workspace.

References

go-sample's People

Contributors

nightlyone avatar

Watchers

 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.