feat: planned structure

This commit is contained in:
Anatoly Antonov 2025-06-21 23:11:38 +03:00
parent bcb9ace54c
commit 5240968c33
4 changed files with 41 additions and 4 deletions

View file

@ -0,0 +1,22 @@
package downloader
import (
"fmt"
env "github.com/caarlos0/env/v11"
)
type Config struct {
}
func NewConfig(servicePrefix string) (*Config, error) {
cfg := &Config{}
if err := env.ParseWithOptions(cfg, env.Options{
PrefixTagName: fmt.Sprintf("%s_GRIB_", servicePrefix),
}); err != nil {
return nil, err
}
return cfg, nil
}

View file

@ -0,0 +1,3 @@
package downloader
//