# README
go_oauth_phabricator
Client for OAuth2 Phabricator in Golang
Installation and Usage
Install
go get -v github.com/Megaputer/go_oauth_phabricator
Usage
go run cmd/example/main.go 'code_value'
Example
# Packages
No description provided by the author
# Functions
New сreates a pointer to the structure Config that is required to work with OAuth
'phid' is the client is PHID https://phabricator.example.net/oauthserver/query/all/
'secret' is the application is secret available at the push of a button 'Show Application Secret'
'redirectURL' is the URL to redirect users going through the OAuth flow, after the resource owner's URLs.