1
0
mirror of https://github.com/xorcare/testing-go-code-with-postgres.git synced 2025-06-30 23:23:40 +02:00

Add example of tests with isolated schema

This commit is contained in:
Vasiliy Vasilyuk
2024-03-05 21:09:21 +03:00
parent 05d30f6c09
commit 593bc9715c
9 changed files with 333 additions and 8 deletions

10
migrations/embed.go Normal file
View File

@ -0,0 +1,10 @@
// Copyright (c) 2024 Vasiliy Vasilyuk. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
package migrations
import "embed"
//go:embed *.up.sql
var FS embed.FS