github.com/jgbaldwinbrown/perf@v0.1.1/storage/db/dbtest/nocloud.go (about) 1 // Copyright 2017 The Go Authors. All rights reserved. 2 // Use of this source code is governed by a BSD-style 3 // license that can be found in the LICENSE file. 4 5 //go:build !cloud && !plan9 6 // +build !cloud,!plan9 7 8 package dbtest 9 10 import ( 11 "testing" 12 ) 13 14 // createEmptyDB makes a new, empty database for the test. 15 func createEmptyDB(t *testing.T) (driver, dsn string, cleanup func()) { 16 return "sqlite3", ":memory:", nil 17 }