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. .gitignore
  2. .travis.yml
  3. CODE_OF_CONDUCT.md
  4. CONTRIBUTING.md
  5. LICENSE
  6. README.md
  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/
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.