File tree Expand file tree Collapse file tree 2 files changed +30
-0
lines changed Expand file tree Collapse file tree 2 files changed +30
-0
lines changed Original file line number Diff line number Diff line change @@ -64,6 +64,18 @@ functions:
64
64
export PATH="${GCC_PATH}:$GOPATH/bin:$MONGODB_BINARIES:$PATH"
65
65
export PROJECT="${project}"
66
66
67
+ if [ "Windows_NT" = "$OS" ]; then
68
+ export USERPROFILE=$(cygpath -w $(dirname $(dirname $(dirname $(dirname `pwd`)))))
69
+ export HOME=$(cygpath -w $(dirname $(dirname $(dirname $(dirname `pwd`)))))
70
+ fi
71
+
72
+ go get -u github.com/andrewkroh/gvm
73
+ eval "$(gvm -f bash 1.9.5)"
74
+ gvm -f bash 1.9.5
75
+
76
+ go version
77
+ go env
78
+
67
79
cat <<EOT > expansion.yml
68
80
CURRENT_VERSION: "$CURRENT_VERSION"
69
81
DRIVERS_TOOLS: "$DRIVERS_TOOLS"
@@ -75,6 +87,7 @@ functions:
75
87
set -o errexit
76
88
set -o xtrace
77
89
export GOPATH="$GOPATH"
90
+ export GOROOT="$GOROOT"
78
91
export DRIVERS_TOOLS="$DRIVERS_TOOLS"
79
92
export MONGO_ORCHESTRATION_HOME="$MONGO_ORCHESTRATION_HOME"
80
93
export MONGODB_BINARIES="$MONGODB_BINARIES"
Original file line number Diff line number Diff line change 3
3
MongoDB Driver for Go.
4
4
5
5
-------------------------
6
+ - [ Requirements] ( #requirements )
7
+ - [ Installation] ( #installation )
6
8
- [ Bugs/Feature Reporting] ( #bugs-feature-reporting )
7
9
- [ Testing / Development] ( #testing--development )
8
10
- [ Continuous Integration] ( #continuous-integration )
9
11
- [ License] ( #license )
10
12
13
+ -------------------------
14
+ ## Requirements
15
+
16
+ - Go 1.9 or higher. We aim to support the latest supported versions go.
17
+ - MongoDB 3.2 and higher.
18
+
19
+ -------------------------
20
+ ## Installation
21
+
22
+ The recommended way to get started using the MongoDB Go driver is by using ` dep ` to install the dependency in your project.
23
+
24
+ ``` bash
25
+ dep ensure -add github.com/mongodb/mongo-go-driver/mongo
26
+ ```
27
+
11
28
-------------------------
12
29
## Bugs / Feature Reporting
13
30
You can’t perform that action at this time.
0 commit comments