2025-01-06 11:38:04 +02:00
|
|
|
//go:build dev
|
|
|
|
|
|
|
|
|
|
package terminal
|
|
|
|
|
|
|
|
|
|
// DevConfig is a struct that holds the configuration options for a development
|
|
|
|
|
// environment. The purpose of this struct is to hold config options for
|
|
|
|
|
// features not yet available in production. Since our itests are built with
|
|
|
|
|
// the dev tag, we can test these features in our itests.
|
|
|
|
|
//
|
2025-12-09 15:57:14 +00:00
|
|
|
// nolint:ll
|
2026-05-12 01:18:45 +02:00
|
|
|
type DevConfig struct{}
|
2025-01-06 11:44:18 +02:00
|
|
|
|
2026-05-12 01:18:45 +02:00
|
|
|
// defaultDevConfig returns a new DevConfig with default values set.
|
|
|
|
|
func defaultDevConfig() *DevConfig {
|
|
|
|
|
return &DevConfig{}
|
2025-01-06 11:38:04 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// Validate checks that all the values set in our DevConfig are valid and uses
|
|
|
|
|
// the passed parameters to override any defaults if necessary.
|
|
|
|
|
func (c *DevConfig) Validate(dbDir, network string) error {
|
|
|
|
|
return nil
|
|
|
|
|
}
|