mirror of
https://git.mirrors.martin98.com/https://github.com/SigNoz/signoz
synced 2025-06-04 11:25:52 +08:00

### Summary feat(.): initialize all factories #### Related Issues / PR's Removed all redundant commits of https://github.com/SigNoz/signoz/pull/6843 Closes https://github.com/SigNoz/signoz/pull/6782
20 lines
326 B
Go
20 lines
326 B
Go
package sqlmigration
|
|
|
|
import (
|
|
"go.signoz.io/signoz/pkg/factory"
|
|
)
|
|
|
|
type Config struct{}
|
|
|
|
func NewConfigFactory() factory.ConfigFactory {
|
|
return factory.NewConfigFactory(factory.MustNewName("sqlmigration"), newConfig)
|
|
}
|
|
|
|
func newConfig() factory.Config {
|
|
return Config{}
|
|
}
|
|
|
|
func (c Config) Validate() error {
|
|
return nil
|
|
}
|