Skip to content

Commit

Permalink
Reduce code duplication by adding common class
Browse files Browse the repository at this point in the history
  • Loading branch information
andrueastman committed Apr 22, 2022
1 parent de901fb commit 74e19d9
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions common_request_configuration.go
@@ -0,0 +1,9 @@
package abstractions

// CommonRequestConfiguration configuration for the request such as headers, query parameters, and middleware options.
type CommonRequestConfiguration struct {
// Request headers
Headers map[string]string
// Request options
Options []RequestOption
}

0 comments on commit 74e19d9

Please sign in to comment.