Documentation
¶
Index ¶
- func GetExistingArtists() []entities.Artist
- func GetNotExistingArtist() entities.Artist
- func Migrate(relPath, connStr string) error
- func MustGrpcArtistClient(t *testing.T) artistv1.ArtistClient
- func MustGrpcServer(t *testing.T) *v1.Server
- func Seed(ctx context.Context, d *postgresql.Postgres) error
- type PostgresContainer
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetExistingArtists ¶
func GetNotExistingArtist ¶
func MustGrpcArtistClient ¶
func MustGrpcArtistClient(t *testing.T) artistv1.ArtistClient
Types ¶
type PostgresContainer ¶
type PostgresContainer struct { *postgres.PostgresContainer ConnStr string }
func BuildPostgresContainer ¶
func BuildPostgresContainer(ctx context.Context) (*PostgresContainer, error)
Click to show internal directories.
Click to hide internal directories.