Git Product home page Git Product logo

sgo's Introduction

sgo - Setup Go Programming Language Tool

This tool was started to make it simple to download and "install" Go. There are prepared binaries packed up in .zip and .tar.gz files out there that are portable and can just be extracted to make Go compiler and tools pretty much ready to be used.

New updates are released every so often, and this is where this tool comes in, trying to ease the process to upgrade. Repositories might not be as quick to have the latest version of Go available as quickly as it's released.

Right now this tool just downloads and extracts, but eventually this might be made even smarter to setup and prepare environment variables and whatever else that would be great to do. This way, not only can you easily upgrade, you will also be able to change to other versions easily.

This has only been tested in Linux currently, but should work fine in Windows and Mac too.

Sgo

Install

This is one way of doing it, that should work:

  1. Clone the repo.
  2. Set GOPATH.
  3. Run "go get"
  4. Run "go run sgo.go"

Usage

Start by just invoking ./sgo in the terminal. It will start to download the single page download Go web site, and when done show the parsed data in different views. You might have to resize your terminal to see everything, as it's not smart enough to adapt perfectly to the size of the terminal yet.

Navigate up and down with the arrow keys. Tab changes between the Go versions view and Go files table list view. "q"/"Q" or CTRL+C exists the program. Return key will start download the highlighted file.

Note also that the download will resume if it doesn't finish and you download the same file again. This will also be shown as a big spike in the sparkline graph.

sgo's People

Contributors

chillance avatar tjyang avatar

Watchers

James Cloos avatar gclove 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.