Skip to content

WIP: /devices endpoint for 'adb devices -l'#4

Merged
FrazerSeymour merged 21 commits intomasterfrom
feature/adb-devices
Sep 13, 2019
Merged

WIP: /devices endpoint for 'adb devices -l'#4
FrazerSeymour merged 21 commits intomasterfrom
feature/adb-devices

Conversation

@FrazerSeymour
Copy link
Contributor

Implements the /devices endpoint, which returns the result of adb devices -l formatted as JSON.

Functional so far, but this endpoint brought to light some rough edges around error handling in the server code that can be smoothed out before moving on.

Copy link

@compscidr compscidr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

All makes sense to me - mostly just questions. Need to learn some of this syntax though - had to google what slices were for example lol.

@FrazerSeymour
Copy link
Contributor Author

Need to learn some of this syntax though - had to google what slices were for example lol.

https://tour.golang.org and https://golang.org/doc/effective_go.html are a pretty good timer. This talk is cool too and covers a lot of ground quickly.

Copy link

@compscidr compscidr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good.

@FrazerSeymour FrazerSeymour merged commit 15f88aa into master Sep 13, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants