Skip to content
This repository was archived by the owner on Sep 11, 2020. It is now read-only.

Add example code for listing tags#484

Merged
mcuadros merged 1 commit intosrc-d:masterfrom
orirawlings:tagsExample
Jul 17, 2017
Merged

Add example code for listing tags#484
mcuadros merged 1 commit intosrc-d:masterfrom
orirawlings:tagsExample

Conversation

@orirawlings
Copy link
Contributor

Some questions about APIs came up for tag interaction in #430, this is meant to add some example code to demonstrate usage.

@mcuadros
Copy link
Contributor

Can you link this example in the README file at the _example folder?

@mcuadros
Copy link
Contributor

Also please take a look to the example, it doesn't exit with 0,

   --- FAIL: TestExamples/tags (1.47s)
    	common_test.go:119: error running cmd "exit status 1"

@orirawlings
Copy link
Contributor Author

Whoops, didn't realize that I needed to run go test ./_examples --examples with the additional flag. Should be fixed now.

@mcuadros mcuadros merged commit bebcb4f into src-d:master Jul 17, 2017
@orirawlings orirawlings deleted the tagsExample branch July 21, 2017 20:11
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants