https://github.com/ravendb/ravendb-go-client
https://github.com/ravendb/ravendb-go-client
Last synced: 5 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/ravendb/ravendb-go-client
- Owner: ravendb
- License: mit
- Created: 2017-05-26T09:40:01.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2024-07-23T12:19:56.000Z (about 2 years ago)
- Last Synced: 2025-08-14T13:38:23.504Z (12 months ago)
- Language: Go
- Size: 3.38 MB
- Stars: 43
- Watchers: 8
- Forks: 16
- Open Issues: 18
-
Metadata Files:
- Readme: readme-dev.md
- License: LICENSE
Awesome Lists containing this project
README
[](https://travis-ci.org/ravendb/ravendb-go-client) [](https://ci.appveyor.com/project/ravendb/ravendb-go-client/branch/master)
# How to install and run
This is information for working on the library itself. For docs on how to use the library, see [readme.md](readme.md).
You need go 1.11 or later. Earlier versions have bugs that affect us (https://github.com/golang/go/issues/18468, https://github.com/golang/go/issues/26390) and don't support modules.
```
git clone https://github.com/ravendb/ravendb-go-client.git
cd ravendb-go-client
```
# Developing on Windows
To run all tests: `.\scripts\run_tests.ps1`.
On Windows, if RavenDB server is not present locally, we'll download it to `RavenDB` directory.
# Developing on Mac
To avoid writing helper scripts twice, many are written in PowerShell. You can install PowerShell on mac using [Homebrew](https://brew.sh/): `brew cask install powershell` (see https://docs.microsoft.com/en-us/powershell/scripting/install/installing-powershell-core-on-macos?view=powershell-6 for up-to-date information).
For running HTTPS tests you must import `certs/ca.crt` as trusted certificate:
* double-click on `certs/ca.crt` file. That opens `Keychain Access` system app.
* lick 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.
To run all tests: `./scripts/run_tests.ps`
More dev information:
* [porting_notes.md](porting_notes.md)
* [handling_maps.md](handling_maps.md)