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 https://github.com/googleapis/gax-go/pull/58 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].

1: https://github.com/golang/go/wiki/Modules#releasing-modules-v2-or-higher
9 files changed
tree: 734bd74f80cbdd43e6f6fee195a48e4f395f9736
  1. v2/
  2. .gitignore
  3. .travis.yml
  4. call_option.go
  5. call_option_test.go
  6. CODE_OF_CONDUCT.md
  7. CONTRIBUTING.md
  8. gax.go
  9. header.go
  10. header_test.go
  11. invoke.go
  12. invoke_test.go
  13. LICENSE
  14. README.md
README.md

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 github.com/googleapis/gax-go

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.

License

BSD - please see LICENSE for more information.