Commit a0fbf99b authored by gwenn's avatar gwenn

Try go.Example.

parent d32cf6a6
package sqlite_test
import (
"fmt"
"github.com/gwenn/gosqlite"
)
// 0
func ExampleOpen() {
db, err := sqlite.Open(":memory:")
if err != nil {
// ...
}
defer db.Close()
fmt.Printf("%d\n", db.TotalChanges())
}
package sqlite
package sqlite_test
import (
"fmt"
. "github.com/gwenn/gosqlite"
"strings"
"testing"
)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment