Skip to content

Commit 231927b

Browse files
committed
chore
1 parent e376357 commit 231927b

4 files changed

Lines changed: 8 additions & 61 deletions

File tree

Makefile

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ $(GOPATH)/bin/sqlc: *.go cli/sqlc.go
1515
cli: $(GOPATH)/bin/sqlc
1616

1717
github:
18-
open https://github.com/sqlitecloud/sdk
18+
open https://github.com/sqlitecloud/go-sdk
1919

2020
diff:
2121
git difftool
@@ -39,9 +39,12 @@ ifeq ($(wildcard $(GOPATH)/bin/godoc),)
3939
endif
4040

4141
doc: godoc
42+
ifeq ($(wildcard ./src),)
43+
ln -s . src
44+
endif
4245
@echo "Hit CRTL-C to stop the documentation server..."
43-
@( sleep 1 && open http://localhost:6060/pkg/sdk/ ) &
44-
@$(GOPATH)/bin/godoc -http=:6060 -index -play -goroot ./
46+
@( sleep 1 && open http://localhost:6060/pkg/github.com/sqlitecloud/go-sdk/ ) &
47+
@$(GOPATH)/bin/godoc -http=:6060 -index -play
4548

4649
clean:
4750
rm -rf $(GOPATH)/bin/sqlc*

PUBSUB.md

Lines changed: 1 addition & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -140,41 +140,4 @@ UPDATE foo SET id=14,col1='test200' WHERE id=15;
140140
"col2": "test101"
141141
}]
142142
}
143-
```
144-
145-
146-
#### Useful links:
147-
148-
https://www.postgresql.org/docs/current/sql-notify.html
149-
150-
https://www.postgresql.org/docs/current/sql-listen.html
151-
152-
https://tapoueh.org/blog/2018/07/postgresql-listen-notify/
153-
154-
https://www.postgresql.org/docs/9.1/libpq-example.html
155-
156-
https://www.postgresql.org/docs/9.5/libpq-example.html#LIBPQ-EXAMPLE-2
157-
158-
https://redis.io/topics/pubsub
159-
160-
https://thoughtbot.com/blog/redis-pub-sub-how-does-it-work
161-
162-
https://github.com/redis/hiredis/blob/master/test.c
163-
164-
https://www.toptal.com/go/going-real-time-with-redis-pubsub
165-
166-
167-
168-
#### Implementation:
169-
170-
Use pusher instead of re-implementing it? https://pusher.com
171-
172-
https://making.pusher.com/redis-pubsub-under-the-hood/
173-
174-
https://making.pusher.com/how-pusher-channels-has-delivered-10000000000000-messages/
175-
176-
https://github.com/nanopack/mist
177-
178-
https://github.com/lileio/pubsub
179-
180-
https://itnext.io/redis-as-a-pub-sub-engine-in-go-10eb5e6699cc
143+
```

README.md

Lines changed: 0 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,5 @@
11
# SQLite Cloud GO Client
22

3-
## Get started
4-
5-
### Fetching the code:
6-
```console
7-
cd
8-
mkdir test
9-
cd test
10-
git clone https://github.com/sqlitecloud/sdk
11-
User: <github user name>
12-
Password: <access-token or password>
13-
14-
```
15-
16-
### Setting up the development environment
17-
```console
18-
go env -w GO111MODULE=on
19-
export GOPATH=
20-
echo $GOPATH
21-
```
22-
233
### Run the test for the SDK
244
If you want to run the Test programs: `make test`
255

src

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
.

0 commit comments

Comments
 (0)