github.com/shogo82148/std@v1.22.1-0.20240327122250-4e474527810c/database/sql/dummy_test.go (about)

     1  package sql_test
     2  
     3  import (
     4  	"github.com/shogo82148/std/context"
     5  	"github.com/shogo82148/std/database/sql"
     6  	"github.com/shogo82148/std/net/http"
     7  )
     8  
     9  var pool, db *sql.DB
    10  
    11  var ctx = context.Background()
    12  
    13  type Service struct {
    14  	db *sql.DB
    15  }
    16  
    17  func (s *Service) ServeHTTP(w http.ResponseWriter, r *http.Request)
    18  
    19  func Ping(ctx context.Context)
    20  
    21  func Query(ctx context.Context, id int64)