# README
Go TestRail
Go Client for TestRail API.
Usage
Direct
import "github.com/grokify/gotestrail"
func main() {
client, err := gotestrail.NewClient("https://mydomain.testrail.io/", "myusername", "mypassword")
}
GoAuth Credentials File
.goauth.json
Create a file, e.g. .goauth.json
to contain your credentials with GoAuth
, e.g:
{
"credentials": {
"TESTRAIL": {
"type": "basic",
"service": "testrail",
"basic": {
"serverURL": "https://<mydomain>.testrail.io/",
"username": "<myusername>",
"password": "<mypassword>"
}
}
}
}
Code
import "github.com/grokify/gotestrail"
func main() {
// ... get `goauth.Credentials`
client, err := gotestrail.NewClientFromGoauthCredentials(creds) // `creds` is a `goauth.Credentials{}`
}
Related Modules
# Functions
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
ProcessCaseAPIResponse processes a http.Response and returns a next page URL along with body bytes.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Constants
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Variables
No description provided by the author
# Structs
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
ResponsePagination is a container for pagination when only pagination parsing is needed.
No description provided by the author
No description provided by the author
No description provided by the author
# Type aliases
No description provided by the author
No description provided by the author
No description provided by the author