mirror of
https://git.sr.ht/~phw/scotty
synced 2025-04-24 21:47:55 +02:00
WIP: Authenticate
This commit is contained in:
parent
3d3685d8bc
commit
94704f9cd0
5 changed files with 126 additions and 20 deletions
|
@ -60,6 +60,7 @@ func ResolveBackend[T interface{}](config *viper.Viper) (T, error) {
|
|||
err = errors.New(
|
||||
fmt.Sprintf("Backend %s does not implement %s", backendName, interfaceName))
|
||||
}
|
||||
|
||||
return result, err
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue