This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /* This is a minimal example of a program that just uses the QuickJS library | |
| to print "Hello". | |
| There was a lack (at least on the QuickJS project page) of a simple sample | |
| in C that demonstrates how one could embed QuickJS in a project. So I | |
| wrote one. | |
| It borrows heavily from qjs.c in the original project | |
| but pulls only the essentials out for a "hello world" type demo. | |
| https://bellard.org/quickjs/ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package main | |
| // A very simple RESTful service for serving Vector Map Tiles. My first Go | |
| // project that took 8-12 man hours including research and testing. | |
| // | |
| // To install packages | |
| // | |
| // go get github.com/julienschmidt/httprouter | |
| // go get github.com/paulmach/go.geojson | |
| // go get gopkg.in/mgo.v2 |