command
module
Version:
v0.0.0-...-c5987b8
Opens a new window with list of versions in this module.
Published: Nov 22, 2016
License: MIT
Opens a new window with license information.
Imports: 6
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
¶
###sample-go-api
cd $GOPATH
mkdir -p src/app && cd src/app
git clone git@github.com:andboson/sample-go-api.git .
glide install
go test -v $(glide novendor)
go build -v
####glide
Glide is golang package manager. It is very similar to Composer (PHP package manager).
You must have Glide. See github glide for howto
Some packages:
Sample docs:
model.find_by_name
Return model api-response
Params:
- `name` Name of model.
####sample request:
request:
{
"name": "test-name"
}
response:
{
"id": 3,
"article": 1007455,
"name": "test-name",
"date": "2016-05-22"
}
Documentation
¶
There is no documentation for this package.
Source Files
¶
Directories
¶
Click to show internal directories.
Click to hide internal directories.