Skip to content

generalomosco/ravendb-go-client

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Linux build Status Windows build status

How to install and run

go get github.com/ravendb/ravendb-go-client
cd $GOPATH/src/ravendb-go-client
# get dependencies
go get -v -u .\...

Running tests

To run current tests do: ./run_tests.sh.

I'm developing and testing mostly on Mac. The CI tests run on Linux.

Running on Windows

Install as per Unix instructions.

When running go get -v -u .\... to get dependencies, ignore

# github.com/google/gopacket/pcap
exec: "gcc": executable file not found in %PATH%

Packet capturing is optional, to help debugging.

First, you have to install latest beta version of go, currently 1.11beta3 from https://golang.org/dl/#go1.11beta1 Otherwise you'll hit bug golang/go#18468 (it should be backported to 1.10.4 as per golang/go#25292).

When running go test, for now you must do go test -vet=off. This is to avoid another bug golang/go#26390.

To run tests: go test -vet=off.

On Windows, if RavenDB server is not present locally, we'll download it to RavenDB directory.

Windows version doesn't capture traffic between HTTP client and server because gopacket package requires CGO support and pcap to work so I stubbed it out to be a no-op.

Running on Mac

For running https tests must import certs/ca.crt as trusted certificate.

Double-click on certs/ca.crt file. That opens Keychain Access system app.

Click on Certificates category, double-click on a.javatest11.development.run certificate.

This opens a dialog box. In Trust section select Always Trust drop-down item.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Go 99.3%
  • Other 0.7%