go-stash-restclient

command module
v0.0.0-...-d8f78ea Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 21, 2015 License: Apache-2.0 Imports: 6 Imported by: 0

README

The beginnings of a simple rest client for Atlassian Stash

Build by documenting their API with a Swagger spec, and then generating with go-swagger a Go client.

Development

I have a GOPATH_source_me.sh at the top folder for this work.

GOPATH_source_me.sh

echo "you should source me, not execute me! >>  source <me>"
export GOPATH=/Users/jaw/me/Development/go-opensource-work
export PATH=$PATH:$GOPATH/bin
echo $GOPATH

That folder contains:

>ls -a /Users/jaw/me/Development/go-opensource-work
.                       bin
..                      go-stash-restclient.iml
.idea                   pkg
GOPATH_source_me.sh     src

When I want to start working on this, I source that . GOPATH_source_me.sh.

I use IntelliJ with the golang plugin.

I ran go get -u github.com/go-swagger/go-swagger/cmd/swagger and in that created directory I then ran go install ./... to install the swagger binary in bin/ (and see my PATH edit above so it would include that bin/ folder).

See the Makefile for generating, building, and running.

When editing the swagger.yml it is helpful to test syntax here: http://editor.swagger.io/#/.

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL