Skip to content

Commit 1bc9654

Browse files
committed
pkg: final commit for v1.0.0
1 parent 5019f03 commit 1bc9654

File tree

4 files changed

+2
-130
lines changed

4 files changed

+2
-130
lines changed

connection/connection.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ func NewConnection(uri string) (*Connection, string, error) {
5252
}
5353

5454
func (c *Connection) authenticate(username, password string) error {
55-
command := fmt.Sprintf("auth %s %s", username, password)
55+
command := "auth " + username + " " + password
5656
_, err := c.conn.Write([]byte(command))
5757
if err != nil {
5858
return err

go.mod

+1-32
Original file line numberDiff line numberDiff line change
@@ -1,34 +1,3 @@
11
module github.com/citra-org/chrono-db-go-driver
22

3-
go 1.22.4
4-
5-
require github.com/gin-gonic/gin v1.10.0
6-
7-
require (
8-
github.com/bytedance/sonic v1.11.6 // indirect
9-
github.com/bytedance/sonic/loader v0.1.1 // indirect
10-
github.com/cloudwego/base64x v0.1.4 // indirect
11-
github.com/cloudwego/iasm v0.2.0 // indirect
12-
github.com/gabriel-vasile/mimetype v1.4.3 // indirect
13-
github.com/gin-contrib/sse v0.1.0 // indirect
14-
github.com/go-playground/locales v0.14.1 // indirect
15-
github.com/go-playground/universal-translator v0.18.1 // indirect
16-
github.com/go-playground/validator/v10 v10.20.0 // indirect
17-
github.com/goccy/go-json v0.10.2 // indirect
18-
github.com/json-iterator/go v1.1.12 // indirect
19-
github.com/klauspost/cpuid/v2 v2.2.7 // indirect
20-
github.com/leodido/go-urn v1.4.0 // indirect
21-
github.com/mattn/go-isatty v0.0.20 // indirect
22-
github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd // indirect
23-
github.com/modern-go/reflect2 v1.0.2 // indirect
24-
github.com/pelletier/go-toml/v2 v2.2.2 // indirect
25-
github.com/twitchyliquid64/golang-asm v0.15.1 // indirect
26-
github.com/ugorji/go/codec v1.2.12 // indirect
27-
golang.org/x/arch v0.8.0 // indirect
28-
golang.org/x/crypto v0.23.0 // indirect
29-
golang.org/x/net v0.25.0 // indirect
30-
golang.org/x/sys v0.20.0 // indirect
31-
golang.org/x/text v0.15.0 // indirect
32-
google.golang.org/protobuf v1.34.1 // indirect
33-
gopkg.in/yaml.v3 v3.0.1 // indirect
34-
)
3+
go 1.22.4

test/api.txt

-4
This file was deleted.

test/test.go

-93
This file was deleted.

0 commit comments

Comments
 (0)