Skip to content

Commit

Permalink
Format sources with goimports
Browse files Browse the repository at this point in the history
  • Loading branch information
nineinchnick authored and losipiuk committed Sep 22, 2022
1 parent 23d0108 commit fc922c0
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions trino/trino.go
Original file line number Diff line number Diff line change
Expand Up @@ -43,12 +43,11 @@
//
// The driver should be used via the database/sql package:
//
// import "database/sql"
// import _ "github.com/trinodb/trino-go-client/trino"
//
// dsn := "http://user@localhost:8080?catalog=default&schema=test"
// db, err := sql.Open("trino", dsn)
// import "database/sql"
// import _ "github.com/trinodb/trino-go-client/trino"
//
// dsn := "http://user@localhost:8080?catalog=default&schema=test"
// db, err := sql.Open("trino", dsn)
package trino

import (
Expand Down Expand Up @@ -372,7 +371,6 @@ var customClientRegistry = struct {
// }
// trino.RegisterCustomClient("foobar", foobarClient)
// db, err := sql.Open("trino", "https://user@localhost:8080?custom_client=foobar")
//
func RegisterCustomClient(key string, client *http.Client) error {
if _, err := strconv.ParseBool(key); err == nil {
return fmt.Errorf("trino: custom client key %q is reserved", key)
Expand Down

0 comments on commit fc922c0

Please sign in to comment.