golang.org/x/build@v0.0.0-20240506185731-218518f32b70/perfdata/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  
     7  package dbtest
     8  
     9  import (
    10  	"testing"
    11  )
    12  
    13  // createEmptyDB makes a new, empty database for the test.
    14  func createEmptyDB(t *testing.T) (driver, dsn string, cleanup func()) {
    15  	return "sqlite3", ":memory:", nil
    16  }