feat: predictions
This commit is contained in:
parent
42e7924be9
commit
11be8f351f
42 changed files with 2221 additions and 516 deletions
|
|
@ -19,10 +19,10 @@ type Client struct {
|
|||
var _ Service = (*Client)(nil)
|
||||
|
||||
type Config struct {
|
||||
Host string
|
||||
Port int
|
||||
Password string
|
||||
DB int
|
||||
Host string `env:"HOST"`
|
||||
Port int `env:"PORT"`
|
||||
Password string `env:"PASSWORD"`
|
||||
DB int `env:"DB"`
|
||||
}
|
||||
|
||||
func New(cfg Config) (*Client, error) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue