mattn / go-sqlite3

sqlite3 driver for go using database/sql

Home Page:http://mattn.github.io/go-sqlite3

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

importing go-sqlite hangs my application!!??

tamis-laan opened this issue · comments

given main.go

package main

import (
	"log"
	_ "github.com/mattn/go-sqlite3"
)

func main() {
	log.Println("hello world")
}

running go run -v cmd/main/main.go produces:

github.com/mattn/go-sqlite3
^C⏎ 

the application just hangs...

Removing _ "github.com/mattn/go-sqlite3" allows the application to run again.

go.mod:

module test-go-sqlite

go 1.22.0

require github.com/mattn/go-sqlite3 v1.14.22