sarafu-vise/config/args.go
2025-01-19 16:32:55 +00:00

18 lines
318 B
Go

package config
import (
viseconfig "git.grassecon.net/grassrootseconomics/visedriver/config"
)
type Override struct {
DbConn string
StateConn string
ResourceConn string
UserConn string
}
func Apply(o *Override) error {
viseconfig.ApplyConn(&o.DbConn, &o.StateConn, &o.ResourceConn, &o.UserConn)
return nil
}