add v2 directory (#59)

add v2 directory

This commit was generated by copying the contents of the parent directory into
the v2 directory.

This commit supercedes and is one
of two in a series of commits to add Go module support to gax.

Unfortunately, gax-go already has a v2.0.0 tag. So, per [1] we create a v2/
subdirectory, copy all the v1 code, and create a v2 go.mod in the subdirectory.
Then, after this commit is merged, the commit will be tagged v2.0.1. This is a
combination of the "Major Branch" and the "Major Subdirectory" approaches
mentioned in [1].

9 files changed
tree: 734bd74f80cbdd43e6f6fee195a48e4f395f9736
  1. .gitignore
  2. .travis.yml
  7. call_option.go
  8. call_option_test.go
  9. gax.go
  10. header.go
  11. header_test.go
  12. invoke.go
  13. invoke_test.go
  14. v2/

Google API Extensions for Go

Build Status Code Coverage GoDoc

Google API Extensions for Go (gax-go) is a set of modules which aids the development of APIs for clients and servers based on gRPC and Google API conventions.

To install the API extensions, use:

go get -u

Note: Application code will rarely need to use this library directly, but the code generated automatically from API definition files can use it to simplify code generation and to provide more convenient and idiomatic API surface.

Go Versions

This library requires Go 1.6 or above.


BSD - please see LICENSE for more information.