File tree 1 file changed +5
-3
lines changed
1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -20,7 +20,9 @@ Subpackages provide additional functionality:
20
20
## Installation
21
21
22
22
``` bash
23
- go get -u github.com/scylladb/gocqlx/v3
23
+ git clone
[email protected] :scylladb/gocqlx.git
24
+ cd gocqlx/cmd/schemagen/
25
+ go install .
24
26
```
25
27
26
28
## Getting started
@@ -117,7 +119,7 @@ go get -u "github.com/scylladb/gocqlx/v3/cmd/schemagen"
117
119
118
120
Usage:
119
121
``` bash
120
- $GOBIN / schemagen [flags]
122
+ schemagen [flags]
121
123
122
124
Flags:
123
125
-cluster string
@@ -134,7 +136,7 @@ Example:
134
136
135
137
Running the following command for ` examples ` keyspace:
136
138
``` bash
137
- $GOBIN / schemagen -cluster=" 127.0.0.1:9042" -keyspace=" examples" -output=" models" -pkgname=" models"
139
+ schemagen -cluster=" 127.0.0.1:9042" -keyspace=" examples" -output=" models" -pkgname=" models"
138
140
```
139
141
140
142
Generates ` models/models.go ` as follows:
You can’t perform that action at this time.
0 commit comments