command
module
Version:
v0.0.0-...-10596c8
Opens a new window with list of versions in this module.
Published: Mar 9, 2016
License: Apache-2.0
Opens a new window with license information.
Imports: 5
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
¶
service-database
Database service in Go for the GreenNav project
This repository contains code which follows Design plan for database service
Database setup:
create table nodes(placename text unique,lon real, lat real);
create table pcountry(placename text, countryname text, foreign key(placename) references nodes(placename));
APIs:
- Get all nodes data:
curl -X GET http://localhost:8888/node/
- Get country name of the place
curl -X GET http://localhost:8888/country?place=Pune
Documentation
¶
There is no documentation for this package.
Source Files
¶
Directories
¶
Click to show internal directories.
Click to hide internal directories.