Skip to content

Commit 6a4de22

Browse files
committed
fix wrong docs
1 parent 81e31db commit 6a4de22

File tree

2 files changed

+13
-13
lines changed

2 files changed

+13
-13
lines changed

chdb/doc.md

+9-9
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ import "github.com/chdb-io/chdb-go/chdb"
2020

2121

2222
<a name="Query"></a>
23-
## func [Query](<https://github.com/agoncear-mwb/chdb-go/blob/main/chdb/wrapper.go#L8>)
23+
## func [Query](<https://github.com/chdb-io/chdb-go/blob/main/chdb/wrapper.go#L8>)
2424

2525
```go
2626
func Query(queryStr string, outputFormats ...string) (result chdbpurego.ChdbResult, err error)
@@ -29,7 +29,7 @@ func Query(queryStr string, outputFormats ...string) (result chdbpurego.ChdbResu
2929
Query calls query\_conn with a default in\-memory session and default output format of "CSV" if not provided.
3030

3131
<a name="Session"></a>
32-
## type [Session](<https://github.com/agoncear-mwb/chdb-go/blob/main/chdb/session.go#L15-L20>)
32+
## type [Session](<https://github.com/chdb-io/chdb-go/blob/main/chdb/session.go#L15-L20>)
3333

3434

3535

@@ -40,7 +40,7 @@ type Session struct {
4040
```
4141

4242
<a name="NewSession"></a>
43-
### func [NewSession](<https://github.com/agoncear-mwb/chdb-go/blob/main/chdb/session.go#L25>)
43+
### func [NewSession](<https://github.com/chdb-io/chdb-go/blob/main/chdb/session.go#L25>)
4444

4545
```go
4646
func NewSession(paths ...string) (*Session, error)
@@ -49,7 +49,7 @@ func NewSession(paths ...string) (*Session, error)
4949
NewSession creates a new session with the given path. If path is empty, a temporary directory is created. Note: The temporary directory is removed when Close is called.
5050

5151
<a name="Session.Cleanup"></a>
52-
### func \(\*Session\) [Cleanup](<https://github.com/agoncear-mwb/chdb-go/blob/main/chdb/session.go#L78>)
52+
### func \(\*Session\) [Cleanup](<https://github.com/chdb-io/chdb-go/blob/main/chdb/session.go#L78>)
5353

5454
```go
5555
func (s *Session) Cleanup()
@@ -58,7 +58,7 @@ func (s *Session) Cleanup()
5858
Cleanup closes the session and removes the directory.
5959

6060
<a name="Session.Close"></a>
61-
### func \(\*Session\) [Close](<https://github.com/agoncear-mwb/chdb-go/blob/main/chdb/session.go#L68>)
61+
### func \(\*Session\) [Close](<https://github.com/chdb-io/chdb-go/blob/main/chdb/session.go#L68>)
6262

6363
```go
6464
func (s *Session) Close()
@@ -71,7 +71,7 @@ temporary directory is created when NewSession was called with an empty path.
7171
```
7272

7373
<a name="Session.ConnStr"></a>
74-
### func \(\*Session\) [ConnStr](<https://github.com/agoncear-mwb/chdb-go/blob/main/chdb/session.go#L88>)
74+
### func \(\*Session\) [ConnStr](<https://github.com/chdb-io/chdb-go/blob/main/chdb/session.go#L88>)
7575

7676
```go
7777
func (s *Session) ConnStr() string
@@ -80,7 +80,7 @@ func (s *Session) ConnStr() string
8080

8181

8282
<a name="Session.IsTemp"></a>
83-
### func \(\*Session\) [IsTemp](<https://github.com/agoncear-mwb/chdb-go/blob/main/chdb/session.go#L93>)
83+
### func \(\*Session\) [IsTemp](<https://github.com/chdb-io/chdb-go/blob/main/chdb/session.go#L93>)
8484

8585
```go
8686
func (s *Session) IsTemp() bool
@@ -89,7 +89,7 @@ func (s *Session) IsTemp() bool
8989
IsTemp returns whether the session is temporary.
9090

9191
<a name="Session.Path"></a>
92-
### func \(\*Session\) [Path](<https://github.com/agoncear-mwb/chdb-go/blob/main/chdb/session.go#L84>)
92+
### func \(\*Session\) [Path](<https://github.com/chdb-io/chdb-go/blob/main/chdb/session.go#L84>)
9393

9494
```go
9595
func (s *Session) Path() string
@@ -98,7 +98,7 @@ func (s *Session) Path() string
9898
Path returns the path of the session.
9999

100100
<a name="Session.Query"></a>
101-
### func \(\*Session\) [Query](<https://github.com/agoncear-mwb/chdb-go/blob/main/chdb/session.go#L56>)
101+
### func \(\*Session\) [Query](<https://github.com/chdb-io/chdb-go/blob/main/chdb/session.go#L56>)
102102

103103
```go
104104
func (s *Session) Query(queryStr string, outputFormats ...string) (result chdbpurego.ChdbResult, err error)

lowApi.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ import "github.com/chdb-io/chdb-go/chdb-purego"
1515

1616

1717
<a name="ChdbConn"></a>
18-
## type [ChdbConn](<https://github.com/agoncear-mwb/chdb-go/blob/main/chdb-purego/types.go#L53-L60>)
18+
## type [ChdbConn](<https://github.com/chdb-io/chdb-go/blob/main/chdb-purego/types.go#L53-L60>)
1919

2020

2121

@@ -31,7 +31,7 @@ type ChdbConn interface {
3131
```
3232

3333
<a name="NewConnection"></a>
34-
### func [NewConnection](<https://github.com/agoncear-mwb/chdb-go/blob/main/chdb-purego/chdb.go#L188>)
34+
### func [NewConnection](<https://github.com/chdb-io/chdb-go/blob/main/chdb-purego/chdb.go#L188>)
3535

3636
```go
3737
func NewConnection(argc int, argv []string) (ChdbConn, error)
@@ -67,7 +67,7 @@ Important:
6767
- Creating a new session will close the existing one.
6868

6969
<a name="ChdbResult"></a>
70-
## type [ChdbResult](<https://github.com/agoncear-mwb/chdb-go/blob/main/chdb-purego/types.go#L34-L51>)
70+
## type [ChdbResult](<https://github.com/chdb-io/chdb-go/blob/main/chdb-purego/types.go#L34-L51>)
7171

7272

7373

@@ -93,7 +93,7 @@ type ChdbResult interface {
9393
```
9494

9595
<a name="RawQuery"></a>
96-
### func [RawQuery](<https://github.com/agoncear-mwb/chdb-go/blob/main/chdb-purego/chdb.go#L145>)
96+
### func [RawQuery](<https://github.com/chdb-io/chdb-go/blob/main/chdb-purego/chdb.go#L145>)
9797

9898
```go
9999
func RawQuery(argc int, argv []string) (result ChdbResult, err error)

0 commit comments

Comments
 (0)