Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
SystemRoles = []string{"Admin", "Member", "Collaborator", "Manager"}
)
Functions ¶
func GetUniqueTime ¶
func NewTestClient ¶
func NewTestClient(response *http.Response, err error) *client.PandaDocClient
Helper function to create a test client with custom transport.
Types ¶
type MockRoundTripper ¶
type MockRoundTripper struct {
Response *http.Response
Err error
// contains filtered or unexported fields
}
func (*MockRoundTripper) SetRoundTrip ¶
type TestRoundTripper ¶
type TestRoundTripper struct {
// contains filtered or unexported fields
}
Custom RoundTripper for testing.
Click to show internal directories.
Click to hide internal directories.