Skip to content

Commit

Permalink
fix example names
Browse files Browse the repository at this point in the history
  • Loading branch information
wroge committed Feb 20, 2025
1 parent 58176bd commit f2011e5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions sqlt_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import (
_ "modernc.org/sqlite"
)

func ExampleOne() {
func Example_one() {
var (
ctx = context.Background()
create = sqlt.Exec[any](sqlt.Parse(`CREATE TABLE books (id INTEGER PRIMARY KEY, title TEXT);`))
Expand Down Expand Up @@ -47,7 +47,7 @@ func ExampleOne() {
// Output: 2
}

func ExampleTwo() {
func Example_two() {
type Book struct {
ID int64
Title string
Expand Down

0 comments on commit f2011e5

Please sign in to comment.