Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
Functions ¶
Types ¶
type AppConfig ¶
type AppConfig struct { Build BuildConfig WebConfig WebConfig `yaml:"web"` DBConfig DBConfig `yaml:"database"` }
type BuildConfig ¶
type DBConfig ¶
type DBContainer ¶
type DBContainer struct { Container testcontainers.Container Config DBConfig }
func TestWithPostgres ¶
func TestWithPostgres(ctx context.Context) (DBContainer, error)
type Service ¶
type Service struct {
// contains filtered or unexported fields
}
func (Service) GetProducts ¶
func (Service) SaveProduct ¶
Click to show internal directories.
Click to hide internal directories.