Skip to content

Commit 109fc5a

Browse files
authored
Update 00-golang.md (#2522)
1 parent cba2106 commit 109fc5a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/en/developer/00-drivers/00-golang.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ type Book struct {
102102
}
103103

104104
func dsn() string {
105-
return fmt.Sprintf("http://%s:%s@%s", username, password, hostname)
105+
return fmt.Sprintf("databend://%s:%s@%s?sslmode=disable", username, password, hostname)
106106
}
107107

108108
func main() {

0 commit comments

Comments
 (0)