ctrl+shift+p filters: :st2 :st3 :win :osx :linux
Browse

Go​Escape

by shellzen ST3 Linux Needs Review

GoEscape higlight lines that escapes to heap

Labels go

Details

Installs

  • Total 85
  • Win 0
  • Mac 0
  • Linux 85
Jul 1 Jun 30 Jun 29 Jun 28 Jun 27 Jun 26 Jun 25 Jun 24 Jun 23 Jun 22 Jun 21 Jun 20 Jun 19 Jun 18 Jun 17 Jun 16 Jun 15 Jun 14 Jun 13 Jun 12 Jun 11 Jun 10 Jun 9 Jun 8 Jun 7 Jun 6 Jun 5 Jun 4 Jun 3 Jun 2 Jun 1 May 31 May 30 May 29 May 28 May 27 May 26 May 25 May 24 May 23 May 22 May 21 May 20 May 19 May 18
Windows 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
Mac 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
Linux 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0

Readme

Source
bitbucket.​org

ConCurrency - Convert Currency

Simple currency converter based on remote api of fixer.io.

Instalation

This app is prepared to be hosted on google app engine. To use it locally Google App Engine SDK must be installed. Please use go get to resolve dependencies, as GAE don't like Godep. Apart of appengine you need only golang.org/x/net/context

How to start it

App is currently started on: http://concurrency-1380.appspot.com/

To start it locally use:

goapp serve

Test can be started with:

goapp test -v

Usage

On app landing page there is simple form for basic use. App can be also used with curl:

curl -H "Accept: application/xml, */*" "http://concurrency-1380.appspot.com/convert?amount=200.0&currency=SEK"

If Accept header is set to application/xml output will be XML formated. Otherwise default response is JSON.

Return Codes

  • 200 - operation successful
  • 400 - there is some error in your request
  • 500 - we cannot complete your request at this moment

Autor

Marek Polewski - 23.07.2016