Skip to content

Commit

Permalink
Fix Example (#40)
Browse files Browse the repository at this point in the history
* Fix Example

* Update example_test.go
  • Loading branch information
Fs02 authored Oct 21, 2021
1 parent d09df2a commit a7a91cb
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions example_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,13 @@ package mssql_test

import (
"context"
"testing"

_ "github.com/denisenkom/go-mssqldb"
"github.com/go-rel/mssql"
"github.com/go-rel/rel"
)

func TestExample(t *testing.T) {
func Example() {
// open mssql connection.
adapter, err := mssql.Open("sqlserver://sa:REL2021-mssql@localhost:1433?database=rel")
if err != nil {
Expand Down

0 comments on commit a7a91cb

Please sign in to comment.