Skip to content

Commit

Permalink
fixed doc formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
schigh committed Jan 22, 2018
1 parent 13f52bd commit a0c8877
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions checkers/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -123,9 +123,9 @@ The SQL DB checker has implementations for the following interfaces:

// we pass the id we are looking for inside the params value
sqlCheck, err := checkers.NewSQL(&checkers.SQLConfig{
Queryerer: db,
Query: "SELECT healthValue FROM some_table WHERE id = ?",
Params: []interface{}{1},
Queryerer: db,
Query: "SELECT healthValue FROM some_table WHERE id = ?",
Params: []interface{}{1},
QueryerResultHandler: myQueryHandler
})
if err != nil {
Expand Down Expand Up @@ -181,8 +181,8 @@ The SQL DB checker has implementations for the following interfaces:
}

sqlCheck, err := checkers.NewSQL(&checkers.SQLConfig{
Execer: db,
Query: "INSERT INTO checks (checkTS) VALUES (NOW())",
Execer: db,
Query: "INSERT INTO checks (checkTS) VALUES (NOW())",
ExecerResultHandler: myExecHandler
})
if err != nil {
Expand Down

0 comments on commit a0c8877

Please sign in to comment.